14 Dec 2006 12:14 AM #1
How to listen to grid selection changes?
I would like to implement a master-detail view, using a grid for the master view; thus I need to listen the change of selection in the grid in order to timely update the detail view.
I have looked through the documentation, but I haven't found any selectionChange (or similar) public event.
Is there such an "high" level event, or should I use the lower level events, such as 'cellclick', 'keydown', etc.... (the selection can be update both with the mouse and the arrows key, so I probably need to listen to more than just 'cellclick').
14 Dec 2006 12:19 AM #2
I have probably found the answer myself (obviously just _after_ posting the question).
I was probably barking at the wrong tree, as the selection model is probably (and rightly) the right place where to look for searching for selection change events.
I had looked into the data model and column model, but missed the selection model altogether.
By steven in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 14 Apr 2011, 5:40 AM
By seldon in forum Ext 1.x: Help & DiscussionReplies: 3Last Post: 8 Feb 2007, 9:06 AM
By jack.slocum in forum Community DiscussionReplies: 0Last Post: 10 Nov 2006, 3:49 AM
By dmayer in forum Ext 1.x: Help & DiscussionReplies: 3Last Post: 8 Nov 2006, 5:48 PM