Hi
I have the same problem as one user described here: http://www.devexpress.com/Support/Center/p/Q130164.aspx
I switched from Infragistics (IG) to DevExpress. IG has these options on different levels (Grid, Row, Column) implemented.
In my case users can switch to edit-mode with several actions (clicking built-in edit-command button, custom js-script on RowDblClick, etc…). It's not necessary to hide all these options from user, but prevent the grid to switch to edit-mode. E. g. clicking on edit-command simple do nothing.
Regards
Daniel
Proposed Solution:
Implement some options like:
AllowDelete, AllowInsert on table-level/grid-level
AllowEdit on row/column level
row-level act as a default for all columns
column-level overwrite row-level setting
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.
Dear Daniel,
Thank you for the idea. We greatly appreciate your input. However, we've decided not to provide these options in the near future. Our ASPxGridView is designed on a different concept, and introducing plenty of new options may confuse programmers. The current design doesn't preclude you from achieving the desired result even without hiding command buttons. For example, handle the GridView's events similar to the following:
protected void ASPxGridView1_BeforeGetCallbackResult(object sender, EventArgs e) { CheckEditing(); } protected void ASPxGridView1_PreRender(object sender, EventArgs e) { CheckEditing(); } void CheckEditing() { if(ASPxGridView1.IsEditing) // Your logic here... ASPxGridView1.CancelEdit(); }
However, we'll possibly re-think our position if we receive other user votes for this functionality. For now, we count the number of trackers for each report as a voting system.
Thanks for understanding.
Regards,
Serge