on 10-23-2008 9:20 PM
Hi!
I have two views in the first one I select a intem from a list, depending on the selection I go to the secon view and show a table with some items.
If I scroll down in the second view, return to the first view and go again to the second one (repopulated), then the scroll keeps the position unchanged (if it has enough lines)
How can I set the scroll position?
Note: I have already written setLead(1) but it doesn't update the scroll, only the selected row.
Thanks a lot!!
Hi,
I have done table scrolling in different fashion, If you want you can try like this.
I took an integer context Value attribute, set to firstVisibleRow.
I took TriggerTimer, After every triggering (25 seconds) I increase the value.
firstVisibleRow +=15;
15 is the visibleRowCount.
Regards,
Lakshmi Prasad.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alejandro,
Where have coded the statement .setLead(1) ?
You should be adding this statement in the onPlugFrom<First_View>() method. This method gets called every time there is anavigation from First View to your second view.
If you have done it in the wdDoInit() method, then it will be called only one while initialization of thesecond view.
Best Regards,
Alka.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.