Sorry, I'm still learning React, Javascript and the Bryntum system so I'm sure this is really a simple problem.
At the bottom of my grid, my PagingToolbar is not working and reads "of undefined".
The following is the code I am using. I have been working from the default template that came installed with the Bryntum Grid when I installed it. I got it all working except the pagination part. My suspicion is that it's not working with the "Ajax Store" - do I need to put something different in for the bbar section?
Thanks
Josh
import './GridTable.scss';
const gridConfig = {
bbar : {
type : 'pagingtoolbar'
},
features : {
cellMenu : false,
filterBar : { filter: { property : 'Active', value : 'On' } },
stripe: true,
quickFind: true,
search: true,
},
columns : [ // all of our columns are here
],
store : {
// When Grid finds readUrl in the store config it will create an AjaxStore
readUrl : 'eqlist/output_equipmentlist_json',
// Load upon creation
autoLoad : true,
},
};
export { gridConfig };
I am creating a grid of equipment for a construction company. Everything is displaying fine in that. I am only having issues with the pagination loading. Here is a screenshot of the issue, let me know if it doesn't work.
The store does not know that it has to request data in pages unless you tell it so.
A Store configured with a readUrl will, as you would expect just load itself with the dataset (When you tell it to, or if you configure it with autoLoad)