[flexcoders] ItemEditor | maxCharacters

2010-06-24 Thread ilikeflex
Hi I have datagrid and i am using the default itemeditor. I want to limit the charatcres the user can enter. I have implemented itemEditBegin method on datagrid. private function onitemEditBegin(event:DataGridEvent):void { var datGrid:CheckBoxDataGrid=(event.currentTarget as

Re: [flexcoders] ItemEditor | maxCharacters

2010-06-24 Thread Alex Harui
Editor is created after itemEditBegin. The recommended practice is to subclass the itemEditor. Maybe cheat by using focusIn event. On 6/24/10 12:36 PM, ilikeflex ilikef...@yahoo.com wrote: Hi I have datagrid and i am using the default itemeditor. I want to limit the charatcres the