4 Apr 2011 8:37 AM #1
Cell Editor question (Grid)
Is it possible to have a combo box cell editor where the options in the combo box change depending on the row selected?
6 Apr 2011 4:46 AM #2
- Join Date
- Mar 2007
- DC Area =)
- Vote Rating
I imagine that you can load the combo store based on the row selected. Setup a beforeedit event listener to do so. The beforeedit event fires handlers, passing an event object that contains the following:
grid - This grid record - The record being edited field - The field name being edited value - The value for the field being edited. row - The grid row index column - The grid column index cancel - Set this to true to cancel the edit or return false from your handler.
7 Apr 2011 5:48 AM #3
I don't think beforeedit is firing but I was able to do it by overloading startEdit.
By ddxt in forum Ext 3.x: Help & DiscussionReplies: 0Last Post: 3 Nov 2009, 3:59 AM
By len in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 13 Mar 2009, 1:41 AM
By Boon in forum Ext 2.x: Help & DiscussionReplies: 3Last Post: 18 Aug 2008, 10:10 AM
By almerelc in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 28 Apr 2008, 9:09 PM
By genius551v in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 24 Feb 2008, 1:45 PM