salmondavid888
12 Oct 2011, 3:03 AM
Hi,
in the example of EditableGrid, if we edit any text field and insert blank spaces before and after the value then grid still shows blank spaces before and after the value. please suggest me how to remove leading and trialing spaces if user enters in any of the field in EditableGrid. the solutiion what i know is, after edit getting the value and apply trim() and set the same into model. other than this is there any best way to achieve this? is it possible to override getValue() of Field class? pleas help me?
Thanks,
Salmon
in the example of EditableGrid, if we edit any text field and insert blank spaces before and after the value then grid still shows blank spaces before and after the value. please suggest me how to remove leading and trialing spaces if user enters in any of the field in EditableGrid. the solutiion what i know is, after edit getting the value and apply trim() and set the same into model. other than this is there any best way to achieve this? is it possible to override getValue() of Field class? pleas help me?
Thanks,
Salmon