thanks for ur rply but i am not getting what is itemEditEnd ??? how to use it
On Apr 21, 12:56 pm, vrathore <vrathor...@gmail.com> wrote: > //Use the following code snippet at itemEditEnd="setColWidth(event)" > of Datagrid > private function setColWith(event : DataGridEvent):void{ > var num : Number = event.columnIndex; > var textLen : Number = event.target.itemEditorInstance.length; > sGrid.columns[num].width = textLen*10; > > } > > Cheers > Varun Rathorehttp://www.vrathore.blogspot.com > > On 21 Apr, 11:44, Akhil Agrawal <akhil06.i...@gmail.com> wrote: > > > hi all, > > is there a way so that columnwidth set automatically accodring to text > > and is it possible to have different columnwidth for different column > > in datagrid control > > > thanx and rgds > > akhil agrawal --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---