-
22 Jan 2013 2:16 AM #1
Error when trying to select a record while using CellModel
Error when trying to select a record while using CellModel
Ext version tested:
4.1.4.605
Browser versions tested against:
Chrome Version 24.0.1312.52 m
Firefox 18.0.1
Description:
Inside onSelectChange method of CellModel.js, pos is undefined on line:
view = pos.view || me.primaryView;
Test Case:
Using the grid\cell-editing.js under examples, add the following red lines inside store load callback:
Comment:Code:store.load({ // store loading is asynchronous, use a load listener or callback to handle results callback: function(){ Ext.Msg.show({ title: 'Store Load Callback', msg: 'store was loaded, data available for processing', modal: false, icon: Ext.Msg.INFO, buttons: Ext.Msg.OK }); var sm = grid.getSelectionModel(); sm.select(store.getAt(0)); }, scope: this });
I have two editable grids in a master-detail structure and a form as a third detail. I have to manage the data bound to them while selecting records. When a master record is selected through grid I want to select the first detail record manually in order to keep the view in tact. Although this should be easy I couldn't manage selecting a record.
Ipek
-
22 Jan 2013 7:23 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,121
- Vote Rating
- 453
Thanks for the report! I have opened a bug in our bug tracker.
Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJSIV-8279
in
4.2.1.


Reply With Quote