is there any configs to handle min-value, max-value, min-length and max-length or we need to handle at dom level on after-render.
NOTE:
This we need in datatable cell editing functionality.
is there any configs to handle min-value, max-value, min-length and max-length or we need to handle at dom level on after-render.
NOTE:
This we need in datatable cell editing functionality.
Hello @webix_B_123 ,
As a solution you can use onAfterEditStart
event and set max-length attribute:
onAfterEditStart:function(){
this.getEditor().getInputNode().setAttribute("maxlength", 8)
}
Also you can try to attach the onBeforeEditStop
event and check whether the value that is going to be saved is numeric.
Please take a look at the snippet:
https://snippet.webix.com/jsccgyun