on 05-03-2006 5:45 AM
hi!
I am using tableview element to display my content.
Now i want to perform clickable event on row so that on clicking particular row i can show the details of that particular row in other view.
Regards
Parth
Use Table.onLeadSelect.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There is a property called onLeadSelect in Table. Create an event handler for it and write this code there.
OnLeadSelectAction{
String a=wdContext.current<node>Element().get<Att>();
wdthis.wdFireplug<DisplayView>();
}
Do the corresponding mapping to get the value in the display view.
Regards,
Vijay
Hi Abhijit,
regarding #2, i am facing a strange problem. If more than one row is selected, the <valuenode>.isMultiSelcted(index) returns true only for the lead selected row. For the other selected rows it return false. Would you know how to get rid of this.
Note that the problem is there only in case if i try to do this in the onLeadselect method. It works fine if i do this in a method which is called on click of a button !!!
In my case, i have a requirement wherein i need to find out which are the selected rows on click of any row in the table.
User | Count |
---|---|
85 | |
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.