I need a small help in Flex_DataGrid.
I have a datagrid in flex and i am making the datagrid as editable. I can able to edit it and enter the values. so far so good. Now my requirement was, i want to restrict the editable datagrid cell to some max chars like 10. I mean to say maxChars = 10, i want to restrict like this & i want to implement like this. how is this possible.
i need a solution asap.
Use a TextInput as the itemEditor of the datagrid column and use the maxChars property of the textinput.Something like this:
<mx:DataGridColumn dataField="/* give the respective datafield*/" editorDataField="text">
Set maxChars on the custom editor
Worked great for me. Thanks.