Hi *vrathore* Thank you for the link and i will try with this
-- Karthik.k Mobile - +91-9894991640 On 4/18/09, Jagadish M <[email protected]> wrote: > > Hi Karthik, > > I am sending a link regarding disable of an item in a listbox i > think it may help you.. > go through it. > > > http://flexnflex.wordpress.com/2009/02/03/disabling-an-item-selection-in-listbox/ > > > On Sat, Apr 18, 2009 at 3:42 PM, Karthik K <[email protected]>wrote: > >> hi *vrathore* >> >> Thank you >> >> i tried your sample >> is this sample will be used when editable=true is set am i right >> >> -- >> Karthik.k >> Mobile - +91-9894991640 >> On 4/18/09, vrathore <[email protected]> wrote: >>> >>> >>> // calling the function on itemEditEnd >>> >>> [Bindable]var checkRow: Number = 0; >>> private function checkEditEnd(event : DataGridEvent):void{ >>> >>> checkRow = event.rowIndex >>> } >>> >>> >>> // calling the function on itemEditBegin disabling the current >>> selected Row >>> >>> private function checkEditBegin(event : >>> DataGridEvent):void{ >>> var rowNum : Number = event.rowIndex; >>> if(rowNum == checkRow) >>> { >>> event.preventDefault(); >>> return; >>> } >>> } >>> >>> Cheers >>> Varun Rathore >>> http://www.vrathore.blogspot.com >>> >> >> >> >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

