View Full Version : [FIXED] Error when trying to select a record while using CellModel

22 Jan 2013, 2:16 AM
Ext version tested:

Browser versions tested against:

Chrome Version 24.0.1312.52 m
Firefox 18.0.1
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:

// store loading is asynchronous, use a load listener or callback to handle results
callback: function(){
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();
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.


22 Jan 2013, 7:23 AM
Thanks for the report! I have opened a bug in our bug tracker.