on 11-14-2006 3:14 PM
Hi everyone,
I have a table where the user can select lines via checkboxes.
After he selects the lines, he does press a button which do something.
After this, the view is reloaded ans the beginning of the table is displayed.
Is there a way to display the table where the user was just before pressing on the button ?
I do not want to get the last checkbox checked by the user...I want to display the table even at a line he didn't check the checkbox.
Thanks.
Regards
Hi David,
In the wdDoModifyView, you can set the leadselection of the table accordingly.
Calculate the index of the table line by the method getLeadSelection(). Save it in a context variable.
In the wdDoModifyView, use the method setLeadSelection() to set it to this variable.
cheers,
LM
Message was edited by:
L Menon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David
I guess you can use 'FirstCheckedRow' property of a table. Like
int iRow = table.getFirstCheckedRow();
// do something
// restore first displayed row
table.setFirstCheckedRow(iRow);
BR
Sergei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.