Orabsmooria
New Member
I've made an application with ExtJS infinite grid like this example. My application recieves data from a database. It worked perfectly with the small amounts of rows (by 100000). But now a database contains one million of rows. And i observe a strange effect: data aren't loaded completely. Each time the grid shows different number of rows (maximum 859176). But i need to load all rows from a database.Does anybody know how to solve this problem?My code:\[code\]Ext.require ([ 'Ext.grid.*', 'Ext.data.*', 'Ext.util.*', 'Ext.grid.plugin.BufferedRenderer']);Ext.onReady(function () { Ext.define('DoctorsList', { extend: 'Ext.data.Model', fields: [ 'id', 'fio', 'specialization', 'photo' ], idProperty: 'id' }); var store = Ext.create('Ext.data.Store', { id: 'store', model: 'DoctorsList', buffered: true, pageSize: 100, proxy: { type: 'ajax', url: 'get_doctors.jsp', reader: { root: 'data', totalProperty: 'total' } }, autoLoad: true }); Ext.create('Ext.grid.Panel', { height: 600, title: 'Doctor\'s list', collapsible: true, store: store, columns: [ { text: 'ID', dataIndex: 'id', width: 50, sortable: true }, { text: 'Full name', dataIndex: 'fio', width: 300, sortable: true }, { text: 'Specialization', dataIndex: 'specialization', width: 150, sortable: true }, { text: 'Photo', dataIndex: 'photo', width: 100, sortable: false, renderer: function(value) { return '<img width="100" src="http://stackoverflow.com/questions/15732348/images/' + value + '" />'; } } ], renderTo: 'doctors-list' });});\[/code\]Thanks!