on 06-17-2013 7:06 AM
Hello Experts,
I am new to webdynpro and i need some help in webdynpro table operation .
I have created a table with cardinality 0:n and selection as 0:n and when i tried to test my application, the data was displayed but i was not able to select any row, by default the first row was selected. i want to display that row information in some other view so i have written code in onLeadSelect event but i am not able select any other, can u tell me what is the problem in this and how can i solve it ?
Thanks and Regards
Hi ,
For selecting multiple rows in a table , We need to set the property SELECTION ( 0..n, 1..n ).
For displaying multiple records in a table , We need to set the cardinality of a node .( 0..n or 1..n ).
By default row get selected because u have selected the property 'Initialization Lead Selection'.
Follow the above properties to the node. your application will work fine.
Best regards,
Narasimha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Uppu narayan,
if the table row is read only, i think the row still can be selected by clicking anywhere.
Check the following link
http://www.sapdev.co.uk/sap-webapps/sap-webdynpro/wdp-table-rows.htm
http://www.sapdev.co.uk/sap-webapps/sap-webdynpro/wdp-table-row.htm
Thanks & Regards,
Meenachi.R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Narayan,
Check your cardinality selections.
0-1 :Zero or one element permitted
0-n :Zero or more elements permitted
1-1 :Exactly one element permitted
1-n : One or more elements permitted.
Thanks,
Satya Srinivas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Narayan
try selection as 0.1 (it will help you select one row in the table).
regards
vaibhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Naryan,
The first is selected because u must have 'Initialization Lead Selectiuon' property in context level checked.
In only one case the above scenario is possible.
Your table must be inside some container ( eg. transparent container ; check the root UI element container also ) & the enable property of which is not check i.e it is disable or read only.
Regards,
Monishankar Chatterjee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.