de
Novice

ListView Page number

Hi Mates,

Can we display the total number of pages in Samrtforms ListView.?

0 Kudos
Reply
5 Replies
Albarghouthy
Apprentice

Re: ListView Page number

Hi,

 

Yes you can enable this from the smartforms runtime web.config file, but it's not recommended as it affects the performance

 

take a backup of the web.config before edititng

 

Find this:

    <add key="SmartObject.RuntimeListViewRowCount" value="false" />

and change the value to "true"

Save

Perform IISRESET

 

wish this helps

 

Reply
K2Expert1
Apprentice

Re: ListView Page number

After changin the config file we can achieve this functionality but there is draw back for this solution becaseu on pagination  will load all the data on every click and this will send to server so performance will be slow mainly when high data is list .

-Arvind

0 Kudos
Reply
Albarghouthy
Apprentice

Re: ListView Page number

Thanks Avind for your feedback, as I mentioned in my post "it's not recommended as it affects the performance"

0 Kudos
Reply
alvpad15
Novice

Re: ListView Page number

Is this still an issue on K2 Five?

 

I would like to have the page counter.

 

Kind regards.

0 Kudos
Reply
Ziqing
Apprentice

Re: ListView Page number

This was never an issue. The option to turn on the feature is there, but there are tradeoffs when you turn it on. It's a design consideration you need to make.

Reply