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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Abrupt behaviour of Readonly Property of cells

Thread ID:

Created:

Updated:

Platform:

Replies:

50748 Oct 18,2006 11:15 AM UTC Oct 18,2006 03:43 PM UTC WinForms 2
loading
Tags: GridControl
Mukesh Chawla
Asked On October 18, 2006 11:15 AM UTC

The problems being faced in Syncfusion Grid Control:
(Syncfusion.Windows.Forms.Grid.GridControl)

If we set the ReadOnly property of either a column or a cell of Grid as True and then reset it as False then it does not work i.e. the ReadOnly property remains True till the time we restructure the grid i.e. reset the rowcount as 0 and repopulate the grid.

Mukesh Chawla
Replied On October 18, 2006 11:17 AM UTC

The Version of Grid Control is : 4.2.0.37

>The problems being faced in Syncfusion Grid Control:
(Syncfusion.Windows.Forms.Grid.GridControl)

If we set the ReadOnly property of either a column or a cell of Grid as True and then reset it as False then it does not work i.e. the ReadOnly property remains True till the time we restructure the grid i.e. reset the rowcount as 0 and repopulate the grid.

Administrator [Syncfusion]
Replied On October 18, 2006 03:43 PM UTC

Hi Mukesh,

You need to set the IgnoreReadOnly property to true, to make changes to the readonly cells. So, you need to first set the IgnoreReadOnly to true and then set the ReadOnly property of the cell to false and again set back the IgnoreReadOnly property to false.

this.gridControl1.IgnoreReadOnly = true;
// make changes to the readonly cells
this.gridControl1.IgnoreReadOnly = false;

Take a look into this KB article for more information on setting properties for ReadOnly cells.
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=338

Let me know if you have any other questions.
Regards,
Rajagopal

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.

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

;