cancel
Showing results for 
Search instead for 
Did you mean: 

Row selection in Table

Former Member
0 Kudos

Hi,

I am populating records in a table by calling a BAPI.

When its populating all records the first row will be

selecting by default( i mean the check box in orange color).

I have Select All and Clear All buttons.

When I click Select All button its selecting all records. The first row check box in orange color and the

remaining rows checkboxes in yellow color. I want same color in all check boxes when it is selected.

When I click Clear All button its clearing all the rows

check boxes except the first one.(first check box in orange color).

How do i solve this?

Please give some sample code.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The orange row is the lead-selection. Probably your context node has "initializeLeadSelection" flag set to true. Set this to false (in the context property editor).

Armin

Answers (2)

Answers (2)

phildeane
Participant
0 Kudos

Hi,

Turn you selection mode on your table property to 'multiNoLead' and the select all should work without a lead selection.

Cheers

Phil

Former Member
0 Kudos

Tiruna,

In the node that is bound to the dataSource of your table change the value of the initializeLeadSelection property to false and set the selectionCardinality to 0:1 / 0:n.

Bala