eric, thanx for your advise.

I made it invoking cellPress listener. It's really messy and I DO NOT LIKE
this solution at all.

private function cellPress(evt:Object):Void {
       if ( dataGrid.selectedItem.UserType == 3 ) {
            dataGrid.editable = false;
        } else {
            dataGrid.editable = true;
        }
}

And it's not fully working in case when user navigates trough datagrid using
arrows or enter key. I REALLY REALLY start to hate  this  v2 standard
DataGrid and can't wait until I can use  Flex2 components.

Is this any way to do it trough CellRenderer?
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to