cancel
Showing results for 
Search instead for 
Did you mean: 

Set the page number of a tableview

Former Member
0 Kudos
49

Hi, I want to set the page number of a tableview, i mean, i need that the tableview show the page that i will set by code.

Accepted Solutions (1)

Accepted Solutions (1)

raja_thangamani
Active Contributor
0 Kudos

Use the below code in OnManipulation & Try..

request->set_form_field( 
    name  = 'tv1_pager_Index'  " Here tv1 is tableview ID
    value = 'your Page number' ).

Raja T

Former Member
0 Kudos

Thanks Raja, I already did try it, but doesn't solve my problem

raja_thangamani
Active Contributor
0 Kudos

Look at this link..

use runtime->get_cdata & runtime->set_cdata( test ).as Durai raja suggested in above link..

Search for string 'tv1_pager_Index' then replace the page number with you page numbner..

<i>* Reward each useful answer</i>

Raja T

Message was edited by:

Raja Thangamani

Answers (2)

Answers (2)

mgbernardo
Participant
0 Kudos

Hi, could you please explain how to set the tableview page number in an accurater way?

I don't know how to create that 'test' variable.

"use runtime->get_cdata & runtime->set_cdata( test ).as Durai raja suggested in above link..

Search for string 'tv1_pager_Index' then replace the page number with you page numbner.."

I don't know how to search the field "tv1_pager_Index" with javascript.

Could you please explain how to make possible to set the page number step by step? I'm a beginner.

Thanks a lot from now and regards.

Message was edited by:

John Smith

Former Member
0 Kudos

Hi,

If you set the attribute of table view <b>footerVisible = "TRUE"</b> you will get the page numbers in the footer.

Regards,

Azaz Ali.

Former Member
0 Kudos

Hi, thanks for your answer, but I already can see it. what I need is to set the page number of the tableview , to see the page that i want.