Ticket T736295
Visible to All Users

Master detail limitations - How to enable the Checkbox Selector Column

created 6 years ago

First off I want to say that I understand there are some limitations when it comes to master detail grid. Having said that I would like to discuss row selection check box limitation you impose.

On some of our screens we are using master detail grid but instead of displaying detail grid we are displaying user control. This user control, among other controls, contains a grid but there is no "hard" connection between master and this detail. I would like to think grid doesn't know it is displaying another grid in its details and this is perfectly fine as it was my intention in the first place.

Is there a way to turn off this limitation?

I am wondering because the check box comes with a lot of handy features:
- group check box
- removal of selected items based on the filtering
- etc.

Answers approved by DevExpress Support

created 6 years ago (modified a year ago)

Hello Robert,
Currently, the check box selector column is incompatible with the Master Detail mode. Thus, we intentionally throw an exception and there is no way to turn it off.
You can partially implement the required behavior manually by using a separate check column. We provide several examples demonstrating how to implement a custom check column which can be used in your scenario:
How to add a CheckBox column which provides to check/uncheck all CheckBoxes in this column
How to create Checkable Grouping in GridControl
Choose and/or combine these approaches depending on your requirements.

Please feel free to leave a comment if you need out assistance with integrating these approaches into your project.

    Comments (1)
    Dima (DevExpress Support) a year ago

      Hello Robert,

      I'd like to let you know that we supported this feature in v23.2. Please refer to the following topic: What's New v23.2.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.