Hello Experts,
We are trying to add a new custom view to display all customers when user clicks on POS operation button from home screen. For this custom view, we would like to have /Select/ toggle button (same as standard view) to hide/display checkbox in DataGrid for handling datagrid interaction mode.
In standard SearchView, /Select/ button is kind of toggle button. When checkbox is displayed and user clicks on a record, user can select the record in the datagrid without navigating to customer's detail view. Whereas, when checkboxes are hidden, user is redirected to detail view.
We are trying to have same kind of functionality for /Select/ toggle button. But here I find it difficult to hide/display checkbox in grid in button's click event handler. But the datagrid's interaction mode property is a readyonly property and can be set only once in column binding.
Is there a way to set different interaction mode on button click?
Below is snap of different interaction mode in Datagrid:
Appreciate your help in advance.
Regards,
Prakash

Report
All responses (
Answers (