on 11-01-2004 2:18 PM
Hy All,
If I use the UI-Element Table, the first row is selected as default.
How can i change this, so that no row is selected ?
Only when a user select a row, the selected row should change his design.
I did not found a property for that. (UI-Property and API!).
wdDoInit - xxx.setLeadSelection(-1) ...
wdDoModify - xxx.setLeadSelection(-1) ...
are not working.
Thanks for help.
By Jürgen
Hy,
the cardinality of the model-node is 0..n, selection is 0..1, singleton is true and initializedLeadSelection is true.
This are the parameters read from the properties out of the developerstudio. The initializedLeadSelection could not be changed. The nodeElements are from RFC-Backend call.
I have looked at the API, but not found the Method to change this property. I use NW 04 Version 2.0.6.
Where can i found this function ?
Thanks for help.
By Jürgen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Two options..
1.By config : Set the "initializeLeadSelection" attribute to false. This is to be done for the value node or the for model node at the source of mapping . For example: if you have a model mapped to component controller(CC) and then the CC context to the View controller, the configuration change has to be done at component controller level.
2.Programatically : wdContext.nodeA().setLeadSelection(IWDNode.NO_SELECTION);
Thanks and Regards,
Sam Mathew
Hi,
For corresponding context node ensure the following:
1. Selection cardinality is 0..1 or 0..n rather then 1..1 or 1..n
2. InitializeLeadSelection prioperty is set to false.
For mapped node, either be sure to set this properties in source or do not map selection
Regards,
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the selection cardinality of the context node used as the table's data source?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.