// 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
-~----------~----~----~----~------~----~------~--~---