on 04-07-2011 10:48 AM
hi ,
i am trying to display 20 records per page. and i have next and previous buttons .when i click next displays next 20 records ie 20-40 recods simillarly reverse for back button also this is my requirment.
Hi
I hpe you are using Table uielement . Then set the VisibleRowCount property of your table as 20. Create one attribute of type integer and bind it with FiestVisibleRow. set the initial value for this attrivute as 0. assume the name as "rowcount".
When you will press page down button, in the button event, add 20 to the current value of rowcount. do it till the value of row count is less than number of records in the table.
Do same while page up button is pressed.instead of adding, substract rowcount by 20 till it become le 0.
I hope this should work.
Thanks
Vishal Kapoor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
create a context attribute of type integer
bind it to the first visible row property
and on Next button click increment its value by 20 till max records
on Prev button click decrease its value by 20 till 0
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.