cancel
Showing results for 
Search instead for 
Did you mean: 

Row Not Getting Selected in Web Dynpro Table

uppu_narayan
Active Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member210804
Active Participant
0 Kudos

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.

Answers (4)

Answers (4)

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi Narayan

try selection as 0.1 (it will help you select one row in the table).

regards

vaibhav

Former Member
0 Kudos

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