Hi
I was trying to implement the remote features manually, and everything is working fine except when a large number is passed to the totalRecordNumber for remote paging, it will cause below error, (e.g. the json returned by the api is {data: [...], totalRecordNumber: 123}, when the totalRecordNumber gets big (100000000), it will become slower, and eventually it will cause the error), and interestingly enough, when I disable the paging drop down by making the pageCountLimit even bigger, the error will goes way
I wonder if the field totalRecordNumber has an upper limit? or it is a bug caused by the paging dropdown?
Thanks
Weipeng
Hi Weipeng,
Thank you for posting in our community.
Currently, the drop-down list of the Paging feature renders each item as an HTML element on the page and does not implement virtualization. Having this in mind, it is expected, in case of huge data, performance to be affected.
What I can suggest in order to see the virtualization functionality implemented is logging a new product idea. You can suggest new product ideas for future versions (or vote for existing ones) at https://www.infragistics.com/community/ideas.
Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea 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.
Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. 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.
Please let me know if you need more information.
Hi Martin,
Thanks for the reply, so for now, I wonder if there is a way to solve the problem for now? if I disable the paging drop-down list, can I solve the problem (I tried to set the pageCountLimit to disable the paging drop down, but I think the pageCountLimit is an int and I can only set it to 2147483647 which is not ideal, so I need another way to disable the drop down list forever)? if so, how can I do so?
My suggestion, in this case, is to handle the pagerRendering event and set the pageCountLimit there:
$(document).on("iggridpagingpagerrendering", "#grid", function (evt, ui) { $("#grid").igGridPaging("option", "pageCountLimit", Number.MAX_VALUE); });
Please let me know if you need any further assistance with this matter.