function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BalbirBalbir 

Problem with getResultSize();

Hi All,

           I am trying to get the total number of ideas on the ideas object using getResultSize for Pagination.. However for some reason I am getting the return value as 0 from getResultSize method. I am posting a snippet of my code below. Would appreciate any pointers.

 

totalNumPages = Math.round(Math.ceil((this.controller.getResultSize()) / ( 1.0 * this.controller.getPageSize()))); 

return totalNumPages;