Ticket T491799
Visible to All Users

How to disable editing

created 8 years ago

[DevExpress Support Team: CLONED FROM A281: How to make my grid columns read-only]
I don't see the Editable option of the GridView.OptionsBehavior property on my grid. Is this for Webforms or WinForms?

How can I achieve this functionality for Webforms?

Thanks in advance

Comments (1)
Lanette (DevExpress Support) 8 years ago

    Hello,

    WebForms ASPxGridView doesn't have such an option to disable full grid editing. To provide you with the most suitable recommendations to disable this control editing, we need to check your ASPxGridView configuration and editing mode. Would you please clarify if you're using ASPxGridView with an edit form or in Batch Edit mode? Do you need to disable the full grid editing at runtime dynamically or you need this control editing to be disabled all the time? If possible, send us your grid configuration for further research. This will help us provide you with the most suitable solution.

    Answers approved by DevExpress Support

    created 8 years ago

    Hello Roja,

    I would like to note that ASPxGridView has the ASPxGridView.SettingsDataSecurity property that can meet your scenario. Try to set the ASPxGridView.SettingsDataSecurity.AllowEdit property to false to deny grid editing. Please let me know if this helps.

      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.