Re: [Flashcoders] how to make single cell in the grid non editable?

2006-02-23 Thread Oleg Filipchuk
I hope it would be better. It's nothing else left. :( So does anyone know any smart solution about making individual cell non/editable? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] how to make single cell in the grid non editable?

2006-02-23 Thread Grant Cox
The only way I've done it is by making the entire datagrid non-editable, and listening for a double click on a single cell. When this happens, if that cell can edited that column is set to editable, and the appropriate cell is selected. On a mouse deselect (onBlur?) the column is set back to

[Flashcoders] how to make single cell in the grid non editable?

2006-02-22 Thread Oleg Filipchuk
Hi list. Is it possible to make single cell in the grid non editable? I can do make non-editable column but that is not what I need. thx. Oleg ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] how to make single cell in the grid non editable?

2006-02-22 Thread eric dolecki
you might be able to hook up a listener in a cell and if its a certain row #, force the thing to become uneditable. it would look kind of nasty (click into, goes into edit mode, then pops out of edit mode)... or you could roll a cellRenderer and try it that way. Sounds kind of messy - but

Re: [Flashcoders] how to make single cell in the grid non editable?

2006-02-22 Thread Oleg Filipchuk
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 {

RE: [Flashcoders] how to make single cell in the grid non editable?

2006-02-22 Thread Scott Hyndman
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. Are you sure they're so different? It's a very similar framework. I'm sure there is a