Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Aug 22, 2008 01:06
open dhtmlx forum
Setting Maxlength for a column.

Is there a way to set the maxlength for a column in dhtml grid i.e. user won't be allowed to enter more than a specied number of characters in the cells of a column. Similar to the tag maxlength we use for textbox in html.
Answer posted by Support on Aug 22, 2008 01:35
There is no such built in functionality, but it can be done by some custom code attached to grid's event
           http://dhtmlx.com/docs/products/dhtmlxGrid/samples/cell_types/pro_maxlength.html?un=1219395338000