adisharoon
1 Dec 2011, 3:08 PM
I have a grid that rows will be added to. One of the columns is editable with a ComboBox. I want to set the store of that ComboBox when the row is added to the grid. I can't seem to figure out how to get a reference to the ComboBox. What path do I have to traverse?
Currently I am trying to make this happen in a listener for the grid's tableview's itemadd event. The problem is that that event only passes the row's node, not a component.
Another idea is the ComboBox's configuration in the columns of the grid's configuration. But I can't figure out how to get a reference to the record being added from there.
Alec
Currently I am trying to make this happen in a listener for the grid's tableview's itemadd event. The problem is that that event only passes the row's node, not a component.
Another idea is the ComboBox's configuration in the columns of the grid's configuration. But I can't figure out how to get a reference to the record being added from there.
Alec