on 08-24-2006 11:43 PM
Hi Friends,
In a table of check boxes, here is one column of checkboxes.
How to put one checkbox as checkbox to select/deselect all check boxes?
I can do it using programming, by putting extra checkbox. If user clciks on that checkbox, all the checkboxes can be set true/false in the context.
in this case, How to identify the current displayed record on the table in the screen.
for example, if table is set to display 5 rows, so how to get information that currently which numbers of rows (like row 6 to 10) is displayed?
Nav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Simply create a value attribute, say firstVisibleRow of datatype "int" under the root context and bind it to the property "firstVisibleRow" of the table.
Then, you may get the current set of visible rows by the code
wdContext.currentContextElement.getfirstVisibleRow()
+ <visibleRowCount on the table> {in your case its 5}.
Bala
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.