KB Article A371
Visible to All Users

How to select rows using an unbound checkbox column

Description:
How to select rows via a check box column?

Answer:
Starting with version 13.2, GridView provides a built-in check box column for multiple row selection. Refer to the Web Style Row Selection help topic to learn more.
In versions prior to 13.2, you can use the following two methods to manually implement a column for row selection:

  1. Add a Boolean data column to your data source that will maintain the selected state of rows.
    This approach is easy to implement, but adding "dummy" columns to data is often forbidden due to the constraints of an application's business logic.
  2. Use an unbound grid column as it is demonstrated in the Multiple selection using checkbox (web style)example.
Show previous comments (3)
Andrew Ser (DevExpress Support) 11 years ago

    Hi,
    You can select the required version and download the example (see the attached picture).

      Nice to have this feature implemented. But how do we implement this in XAF? Thanks.

        i was able to do this in XAF but encountered some issue.
        https://www.devexpress.com/Support/Center/Question/Details/Q573533

        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.