Hi,
In the grid pagination drop down, I would like to display a "ALL" option to show all the records. Is that doable?
I am using ver 15.2 at the moment.
Thanks,
Hanxiong
Hello Hanxiong,
In order to show all records, I would suggest you to modify the pageSizeList property, so that it shows a predefined page size list with the desired page sizes, for instance:
$(".selector").igGrid({ features : [ { name : "Paging", pageSizeList : [10, 20, 30] } ] });
$(".selector").igGrid({
$(
".selector"
).igGrid({
features : [
{
name :
"Paging"
,
pageSizeList : [10, 20, 30]
}
]
});
It will show the number of all records, instead of text. But if you want to show the text "ALL" in place of the number, this could not be achieved using the igGridPaging API, the dropdown editor itself should be modified if it's possible.
Please let me know if this approach works for you or you need further assistance regarding this matter.
Regards,
Tsanna
Hi Tsanna,
Thanks for the response. I am aware of the "pageSizeList" feature, however, I still would like to know if "ALL" could be an option in the editor. Can you show me how the editor should be modified?
Thanks a ton!