cancel
Showing results for 
Search instead for 
Did you mean: 

SET_SELECTED option

Murali_Shanmu
Active Contributor
0 Kudos

Hi,

I came across few method

SET_LEAD_SELECTION,

SET_LEAD_SELECTION_INDEX,

SET_SELECTED at Node level and SET_SELECTED at element level.

Can anyone let me know in what scenario's we could use them. I am also not able to understand what value I should pass for each method. Can anyone help me out with cases.

Answers will be rewarded.

Regards,

Murali.

Accepted Solutions (0)

Answers (1)

Answers (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Hi Murali

If you observe the parameters that these method take, you clearly get to know

SET_LEAD_SELECTION( IF_WD_CONTEXT_ELEMENT )

You pass Element reference which comes selected in the table control

SET_LEAD_SELECTION_INDEX( INDEX I )

You pass integer number i.e. the index of the element in the node collection.

SET_SELECTED( INDEX I )

If the table control has Multiple selection, then by default you can set multiple

elements set.

SET_SELECTED at Element level

In the Table Control you get this element selected.

Regards

Abhimanyu L