PDA

View Full Version : Showing grid's cell editor in Ext.Window



nthamizhan
16 Aug 2008, 6:42 AM
Hi All,

I want to display my grid

16 Aug 2008, 6:47 AM
using an editor grid makes no sense in that context. use a regular grid, cell selection model and listen for the selection change event. Pass that selected cell (or record) to the window singleton and then when someone clicks 'save' or 'ok', modify the record in the store.

nthamizhan
16 Aug 2008, 7:00 AM
This case, Grid totally looses the ColumnModel functionalities. So is there anyway to do it with ColumnModel functionalities.

Thanks in advance.

nthamizhan
16 Aug 2008, 7:03 AM
This case, Grid totally looses the ColumnModel functionalities. So is there anyway to do with ColumnModel functionalities by overriding Ext.Editor methods.

Thanks in advance.

16 Aug 2008, 7:03 AM
What column model 'functionalities' ??

nthamizhan
16 Aug 2008, 7:25 AM
Renderer, editable, sortable, etc functionalities. Because if change the code based on cell selection model, entire column model related functionalities needs to taken care in the new code.

Also i need the window based editor for few columns, other columns uses already available features using columnmodel.

Animal
16 Aug 2008, 8:29 AM
If you want to edit a cell's value in a different way, add a cellclick listener and do the editing in the handler.