When one clicks in any other column besides the Selection column, all selections are cleared, and only the one clicked remains selected. If there are ways of avoiding this
Thanks in advance for your support.
Eduardo Quintana
When one clicks in any other column besides the Selection column, all selections are cleared, and only the one clicked remains selected. If there are ways of avoiding this
Thanks in advance for your support.
Eduardo Quintana
We have implemented the functionality described in this ticket. It will be included in our next update(s).
Please check back and leave a comment to this response to let us know whether or not this solution addresses your concerns.
GridControl by default preserves selection when clicking outside the check column. To revert to the previous behavior it's necessary to set the ResetSelectionClickOutsideCheckboxSelector property to True.
Hi:
Can you specify how to set this in the code? I can't find the options here …
@var grid = Html.DevExpress().GridView(settings => {
settings.Name = "GridView2";
settings.CallbackRouteValues = new { Controller = "Home", Action = "GridView2Partial" };
settings.CommandColumn…
settings.Settings …
…
Thank you!
Don't worry, I found an alternate solution:
Prevent Checks to be erased after click on a row by setting the following:
@{var grid = Html.DevExpress().GridView(settings => {
settings.SettingsBehavior.AllowSelectByRowClick = false;
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.
Another problem is that when the user clicks in the AutoFilterRow in the detail view, all detail view rows are unsellected.
This may not be desirable, as it is my case. This should be an option (property) of this mode of operation.
I want to filter a column, select some rows, filter another column and select some more rows. It can`t be done today.
Eduardo Quintana
Hi Eduardo,
Thank you for the addition. I will inform our developers of this behavior.
Just a follow-up.
Workaround: See the Problem with CheckBoxRowSelect thread.
Just curious…why did DevExpress spend the development time to create this new feature if it was not going to keep the items checked/selected? There was already the ability to drag up/down the row indicators. Maybe it was to allow the developer to turn off row-indicators and make the grid look a little more stylish/modern? I think you mentioned in a blog post that this feaure was to make the grid more "web like". But I've never seen a "web grid" loose the checked items when clicking outside the checked column.
Hi Dean,
I apologize for the delayed response. We've not taken into account this scenario. I believe that we will introduce the capability to keep selection in the near release. Please stay tuned to our announcements.