PDA

View Full Version : LiveGrid only displaying 1 record some times



pclovec
18 May 2010, 11:41 AM
store have multiple recored , but grid first time it can't show all data most time. when i refresh then it show all data. i don't know what's is i miss. i searched post before provided , found out another people also met this problem but it didn't included answer.
see code,


var gridView = new Ext.ux.grid.livegrid.GridView( {
nearLimit : 10,
loadMask : {
msg : 'Please wait...'
}
});
var grid = new Ext.ux.grid.Livegrid({
store: gridStore,
title:'Split',
height:340,
cm: new Ext.grid.ColumnModel([
{header : "Date",align : 'left',width : 80,sortable : true,dataIndex : 'date',renderer : Ext.util.Format.dateRenderer('Y-m-d')},
{header : "From",align : 'left',width : 50,dataIndex : 'from'},
{header : "To",align : 'left',width : 50,dataIndex : 'to'}
]),
selModel: new Ext.ux.grid.livegrid.RowSelectionModel(),
view: gridView,
frame: true,
loadMask: true,
viewConfig: {
forceFit : true
}
});

jay@moduscreate.com
20 May 2010, 10:08 AM
This is not an Ext JS component from the SDK. you might want to try contacting the developer.