Hi,
I’m trying to get a grid to appear in an accordion with pagination controls for the grid, but I’m having no luck.
What I’ve done so far is created a grid object on a div then attached the div object to the accordion, but I can’t see the pagination controls
my code looks like this
–javascript–
var grid = new dhtmlXGridObject(‘grid’);
grid.setHeader(“Date,User,Change”);
grid.enablePaging(true,5,5,“paging”,false);
grid.init();
var csv = ;
grid.parse(csv, “csv”);
accordion.cells(“gridBit”).attachObject(“grid”)
–html–
I can see the grid with limited records to 5 records in the accordion pane, but I don’t see the paging controls. And there are over 5 records so i should see the navigation controls.
Any ideas?