Skip to main content

Notifications

Supply chain | Supply Chain Management, Commerce
Unanswered

Handling Datagrid Interaction Mode On "Select" Toggle Button Click In Custom View

Posted on by

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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans