Ticket Q97055
Visible to All Users

GridView RowSelect Without Pressing Ctrl/Shift

created 17 years ago

Is it possible to highlight rows without pressing Ctrl/Shift or using row indicator? I tried to changed to CellSelect, it allows me to highlight multiple row on the grid, but then the FocusedRow appearance is not applied. Thanks.

Comments (3)
DevExpress Support Team 17 years ago

    Hi Jarron,
    Sorry for the delay in responding.
    Please check the state of properties in the GridView.OptionsSelection group.
    The MultiSelect, EnableAppereanceFocusedCell, EnableAppereanceFocusedRow properties should be set to true, and the InvertSelection should be set to false.
    If I have misunderstood you, or this solution doesn't meet your needs, please provide us with additional information regarding your issue (a sample project will be greatly appreciated).
    Thanks,
    Andrew

      Hi Andrew,
      That's actually my current settings, I've also set MultiSelectMode to RowSelect and Appearance for FocusedRow, FocusedCell and SelectedRow. The problem is, it requires me to hold down Ctrl/Shift or use Row Indicator to do multiple row selection. Instead, I would like to select any cells on a row and do multiple selection. I tried to change MultiSelectMode to CellSelect, but then I lost the Appearance for FocusedRow, SelectedRow.
      Thanks for you help.
      Sean

      DevExpress Support Team 17 years ago

        Hi Sean,
        Thank you for the feedback.
        In this scenario I believe you can use an approach from the How to Select Rows via the Mouse
        Please review this issue and let us know, whether it meets your needs.
        Thanks,
        Andrew

        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.