Hi Everyone
Am trying to use the virtual mode described in demo to load data from a database with very many records
This is my code snippet
`var rendergridrows = function () {
var data = {{usb_data|safe}};//this is json data from a database source
return data;
}
var dataAdapter = new $.jqx.dataAdapter(source);
// initialize jqxGrid
$(“#jqxgrid”).jqxGrid(
{
width: ‘100%’,
autoheight: true,
source: dataAdapter,
altrows: true,
sortable: true,
virtualmode: true,
groupable: true,
columnsresize: true,
pageable: true,
filterable: true,
autoshowfiltericon: false,
rendergridrows: rendergridrows,
selectionmode: ‘multiplecellsextended’,`
But this displays an empty grid..
anyone who can help ASAP please?
Regards