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!
After further research of this issue I found that the page size drop down could accept only number values since it's represented by a numeric editor. If you want to customize it per your requirement I would suggest you to log a product idea at: http://ideas.infragistics.com
Steps to create your idea:
1. Log into the Infragistics Product Idea site at http://ideas.infragistics.com (creating a new login if needed).2. Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.)3. Add your product idea and be sure to be specific and provide as much detail as possible. • Explain the context in which a feature would be used, why it is needed, why it can’t be accomplished today, and who would benefit from it. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. Be convincing!• [CASE: “Reference case [case number], FORUMS: “Include a link to this thread”] in your idea so product management will be able to look back at this case.
The Product Idea site puts you in the driver’s seat and allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Please let me know if you have further questions regarding this matter.