cancel
Showing results for 
Search instead for 
Did you mean: 

Get Data From Table Row

Former Member
0 Kudos

Hi All,

could anybody help me to solve my problem?

I have ceated a table in webDynpro which has only one row. I want to show the row as nonSelected and want to get the data from the table row without selecting that

row.so is it possible? If possible then how?

could anybody help me?

With Thanks & Regards

Sudip

Message was edited by: SUDIP SEN

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sudip,

Set the Table RowSelectable property as false in order to disable row select.

To get data from the table you can use the following code:

I<node name>Node myValues =wdThis.wdContext().node<node name>();

int n = myValues.size();

for (int i = 0; i < n; i++)

{

IPrivate<view name>View.I<node name>Element myElement =

wdContext.node<node name>().get<node name>ElementAt(i);

myElement.get<Attributename>();

}

Regards,

Rajeev Ranjan

Message was edited by: Rajeev Ranjan

Former Member
0 Kudos

HI Sudip,

if u don't want ur first row to be selected,set the

initializeLeadSelection proprtty of the node to 'fale'.

sice u have only one record in the table u can access row data by using ElementAt(0) method.

WdContext.node<nodeName>.get<nodeName>Elemenat(0).get<Attname>().

i hope this solvs ur problem