We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How can I make a cell read only but still have able to be changed through code

Thread ID:





32722 Aug 5,2005 09:55 PM UTC Aug 5,2005 10:53 PM UTC WinForms 1
Tags: GridControl
Adrian Lin
Asked On August 5, 2005 09:55 PM UTC

I made my grid read only but when I do the following to the grid after calling the read only the text doenst get passed: gc_Grid.ReadOnly = True gc_Grid(i_Row, i_Col).Text = al_VariableList.Item(i_Index) gc_Grid(i_Row, i_Col).CellTipText = str_CellExtractInfo How can I make the grid be able to be changed through code as well as have nested gridlist controls that are navagationable but have the information uneditable by a user?

Administrator [Syncfusion]
Replied On August 5, 2005 10:53 PM UTC

When you want to change it through code, first set grid.IgnoreReadOnly = true, make the change and then reset grid.IgnoreReadOnly back to false.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon