Dhtmlxgrid - Setting the Editable Cell Character size

Hi,
A dhtmlxgrid is populated from an xml using mygrid.loadXMLString();, in the xml , how can we set the size of the editable text (edtxt). The text should allow only 10 characters to enter, i.e., the size of the cell text box should be 10.

<cell align=‘left’ type=‘edtxt’ style=‘color:black’>West

The xml for populating the grid is shown below:

West 20110221 / 08:00

How can we set the size of the editable cell in the xml for populating the dhtmlxgrid.

Please tell me as how we can set the size of the cell in the xml for populaating the dhtmlxgrid instead of performing Dhtmlx Validation.