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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

32722 Aug 5,2005 05:55 PM Aug 5,2005 06:53 PM Windows Forms 1
loading
Tags: GridControl
Adrian Lin
Asked On August 5, 2005 05:55 PM

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 06:53 PM

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

CONFIRMATION

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.

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.

;