cancel
Showing results for 
Search instead for 
Did you mean: 

Enable toolbar button while table is disbaled

Former Member
0 Kudos

Hi All,

I have a WD table on a view, which is read only. But there is button on the table toolbar which has to be enabled. One of the rows of the table is pre-selected by setting the lead selection. So on click of the button the details of the rows are further processed.

1) I tried setting the selection mode to none, but that removes lead selection. So the button functionality doesn't work.

2) I bound the tool bar button to a different context attribute, but the button is still disabled.

3) When trying to set the row selectable property to false, the program dumps.

Any idea how this can be acheived...????

All help will be greatly appreciated.

Regards,

Runal

Accepted Solutions (1)

Accepted Solutions (1)

amy_king
Active Contributor
0 Kudos

Hi Runal,

Instead of having the ToolBar UI element as a child of the Table, you could instead create the ToolBar outside of the Table so that the ToolBar buttons aren't affected if the Table is readonly.

Cheers,

Amy

Former Member
0 Kudos

Hi Amy,

Thanks a lot, strange why the idea didn't strike me...!! Thanks to SDN and you..!!

Regards

Runal

Answers (0)