Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

Implementing a context menu with "Select / Unselect All In Group" functionality

$
0
0

In this sample, the client-side ContextMenu event is used to show the ASPxPopupMenu above the grid's group rows. The menu contains two items: "Select all in group" and "Unselect all in group". When the end-user clicks these items, a custom callback is executed. In the grid's CustomCallback event handler necessary actions are performed to select / unselect all rows that belong to the group row on which the context menu has been invoked.

Question Comments

Added By: Dhaval.Shah at: 6/24/2014 8:33:12 PM    

Hello,
This example will not work when a group is collapsed and "Select" menu item is clicked.
In that case, the detail rows are not selected when we expand the group.
If you could please review and advice.
Thanks.

Added By: Artem (DevExpress Support) at: 6/25/2014 6:02:43 AM    

Hello Dhaval,

I moved your inquiry to a separate thread created on your behalf: 
ASPxGridView - How to select/unselect hidden rows of a particular group
Please refer to it for further correspondence. 


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>