cancel
Showing results for 
Search instead for 
Did you mean: 

How to set the lead selection in a table control

Former Member
0 Kudos

Hello,

I have a table. Everytime a user does a line up/line down/page up/page down, the lead selection is not changed. I want it to be the first row of the table always and it should come selected.

Is there any setting which can help me do this, or I need to do it by code?

Regards,

Shubham

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

The Web Dynpro table UI element is not designed to have this behaviour. If you are unhappy with this, you must implement your own scrolling. To do so, you can hide the table footer and add some buttons which change the table's first visible row and set the lead selection accordingly.

Armin

Former Member
0 Kudos

Shubham,

if I understand you correctly you want the lead selection to change when you navigate in the table (scroll down, scroll up, ...). So you want the first visible row to be selected all the time and the one which just left the screen shall be unselected.

This is not possible afaik, as you can not plug any custom code into how the table scrolling works

Thanks

Bruno

Former Member
0 Kudos

Hi Shubham,

Did you set the selection mode of the table to "single"

Greetings

Former Member
0 Kudos

Hi Marius,

Yes I have set it to single.

Regards,

Shubham

Former Member
0 Kudos

Check this.

Regards, Anilkumar

Former Member
0 Kudos

Hi Anilkumar,

I already checked this but then also its not working properly. I never had this problem earlier(you know when).

So it seems to me like something else is there that is not set.

Regards,

Shubham

Former Member
0 Kudos

Make sure that Node "IntializedleadSelection" set to true;

Regards,Anilkumar

Former Member
0 Kudos

Hi Anil,

Its is already set to true. I am using SP12.

Regards,

Shubham

Former Member
0 Kudos

Hi Shubham,

Check whether you have set property Singleton of the context node is set to false or not.

You have to set this Singleton property to false.

choose your context node, and from property you can change this value.

Try after changing this value.

Regards,

Bhavik