How to disable buttons in Data Grid if we have not selected any row?

0
How to disable buttons in Data Grid if we have not selected any row?
asked
3 answers
1

Hi,

 

You can achieve this by adding a dataview with listen to widget as datasource and place the buttons inside.

 

Thanks

answered
1

Hi Rohit,

 

You can have another dataview above your datagrid and setting the dataview’s datasource as listen to widget for this grid. So that based on your row selection in the buttons will be enable/disable.

Or to show the buttons only when the row selected then you can add a visibility to your button ‘$currentObject != empty’

 

Hope this helps!

answered
0

Hi, 

You can disable the button by using Data view and 'disabled' pre defined Function. 

 

answered