Hi, i have a issue with a dynamic editable grid, for which i want to set the edit property dynamically
therefore i've been playing around with the shipped valence 3.2 example (editable grid) and the debug functions in chrome to see how it should/could be done..
when i do the following in the google debugger:
->i get the grid definition object
-> returns an array containing all grid colums
-> i assume this is returning me the editor field for the 4th column of the grid
if i then do :
-> field on the grid is no longer editable
and afterwards want to restore the editing =
-> says 'undefined' where i expect it to restore to the editor values???
can anyone help me out on this?
thx
thierry
therefore i've been playing around with the shipped valence 3.2 example (editable grid) and the debug functions in chrome to see how it should/could be done..
when i do the following in the google debugger:
Code:
gr = Ext.ComponentQuery.query('grid')[0]
Code:
gc= gr.getView().getGridColums()
Code:
ge = gc[3].getEditor()
if i then do :
Code:
gc[3].setEditor(null)
and afterwards want to restore the editing =
Code:
gc[3].setEditor(ge)
can anyone help me out on this?
thx
thierry
Comment