on 12-08-2005 2:10 PM
Hi all,
I have a table which is bound to a model node. I have to multiselect some rows from this table and display them in another table in another view.
But i am unable to select multiple rows in the table.
When i am doing the same using value node , i am able to select multiple rows from the table.
Can any one clarify on these.
Thanks in advance.
Hi,
Nodes have a property called selection.. it should be 0..n or 1..n for multi -selection...
Regards
Bharathwaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Well you can make use of a supply function. Change the selectionproperty of table to none.
Bind the model node to the table. Now to the model node to which the table ui element is bound add a value node of cardinality 0..1 and add a value attribute to it. In the properties of the value node create a supplyFunction.
Refer this link for detailed screenshot info.
/people/sap.user72/blog/2005/03/15/supply-functions-in-webdynpro
In the above link he has added a boolean checkbox column which is true if customer phone and fax are equal at the time of populating the model node. You can instead just use it to create a checkbox.
You can then easily select it and accordingly handle it in your code.
Though multiselected property is there, selecting it sometimes creates problems. The above solution is another way of doing it.
regards
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi gopi,
Try this method of doing yar.This should work.
wdContext.node<node name>().isMultiSelected();
Hope this helps u,
Regards,
Nagarajan.
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.