Max length of editor

Hello

I am using datatable and have my custom editor for number. I want to set maxlegth of that editor i.e. it should not allow user to enter more than 8 character, it should stop keying in after 8th character. Is there any such function exist for this ??

I can may be do this in beforeEditstart event but wondering if there is any other way.

Thanks

On of possible solution will be

onAfterEditStart:function(){
  this.getEditor().getInputNode().setAttribute("maxlength", 8)
}

http://webix.com/snippet/6d84534c

You need to use onAfterEditStart as on moment of onBeforeEditStart the editor is not created yet.