jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Problem with Go to page and show rows – horizontal scroll
This topic contains 2 replies, has 2 voices, and was last updated by Peter Stoev 12 years, 8 months ago.
-
Author
-
Hi,
I have 2 issues with the grid.
1) Go to page option on the grid.
2) Show rows option is always holding 10,20,30 values only , my issues are with the horizontal scroll as i don’t see the 20 option in the scroll rows as i click the horizontal scroll it just throws javascript error with jqx-all.js at line 7.I have created and initialized the grid with all the data displaying properly, just that these 2 options wouldn’t work.
Please find the code i have done for the grid.
$(“#jqxgridCust”).jqxGrid(
{
width: document.documentElement.clientWidth-150,
source: reqDataAdapter,
editable: true,
pageable: true, –> i have used this option for the Go to Page
autoheight: true,
columnsresize: true,
altrows:true,
filterable: true,
sortable: true,
selectionmode: ‘singlecell’,
columns: [
{ text: ‘name’, datafield: ‘name’, columntype: ‘textbox’, width: 100, pinned: true, editable: false }
]
});
$(“#jqxgridIR”).jqxGrid({ columns: reqGridCustCols });Kindly help me with the issues of the grid.
Regards
NickHi,
I have 2 issues with the grid.
1) Go to page option on the grid.
2) Show rows option is always holding 10,20,30 values only , my issues are with the horizontal scroll as i don’t see the 20 option in the scroll rows as i click the horizontal scroll it just throws javascript error with jqx-all.js at line 7.I have created and initialized the grid with all the data displaying properly, just that these 2 options wouldn’t work.
Please find the code i have done for the grid.
$(“#jqxgridIR”).jqxGrid(
{
width: document.documentElement.clientWidth-150,
source: reqDataAdapter,
editable: true,
pageable: true, –> i have used this option for the Go to Page
autoheight: true,
columnsresize: true,
altrows:true,
filterable: true,
sortable: true,
selectionmode: ‘singlecell’,
columns: [
{ text: ‘name’, datafield: ‘name’, columntype: ‘textbox’, width: 100, pinned: true, editable: false }
]
});
$(“#jqxgridIR”).jqxGrid({ columns: reqGridCustCols });Kindly help me with the issues of the grid.
Regards
NickHi Nick,
Could you provide a full sample(it could be with mock data) because the initialization looks ok, but I can’t understand from it what’s going wrong. Providing a sample will allow me to test your specific scenario.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.