cancel
Showing results for 
Search instead for 
Did you mean: 

Table row selection

Former Member
0 Kudos

Hi,

while running the table the first row is selected automatically.....

how to remove this property?

but the table selection property should be enabled..

Thanks,

RPN

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Change the lead selection of your node that is bound to the table.

Ex:

wdContext.nodeSales_Orders().setLeadSelection(-1);

Regards

Ayyapparaj

Former Member
0 Kudos

Thanks a lot,

i 've tried all your suggestions, but still the first row is being selected...

Thanks,

PRN

Former Member
0 Kudos

Hi,

What is the selection cardinality of the node bound to table?

Regards

Ayyapparaj

Former Member
0 Kudos

Cardinality - 0..n

Selection - 0..1

Thanks,

RPN

Edited by: RPN on Feb 18, 2009 12:16 PM

Former Member
0 Kudos

hi

change the selection cardinality as there will be only one selection available with the selection you have .

THEN

try the code wdcontext.nodeSaleorder.setLeadSelection(-1);

or on the page load if you want the table selection to be removed

then catch the size of the table node then

if(tablesize==0)

{

wdcontext.nodeSaleorder.setLeadSelection(-1);

}

may be this could help you ?

Former Member
0 Kudos

Thanks Murali...

your suggestion solved my issue...

Thanks Everybody..

RPN

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

wdcontext.node<tablename>.setLeadSelection(-1);

try this

Former Member
0 Kudos

Hi,

Set the initializeLeadSelection property of the node which you have bounded to table to false.

Thanks & Regards,

Jhansi Miryala