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.


Thread ID:





40395 Feb 2,2006 01:32 AM Feb 2,2006 01:49 AM Windows Forms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On February 2, 2006 01:32 AM

I am using Syncfusion GridControl in my application. I have taken a GridStyleInfo of a particular cell and changed it like this. GridStyleInfo cell = this.gridControl1[2,2]; cell.Text = "This is test"; Now when i run my application, i could see this in the grid. But When i changed that cell in the grid, (say I change the text to Test2" ) and in the application code i refer that with cell.Text it gives the same old previous message (This is Test) instead of giving the new edited value. Kindly let me know anyother workarounds for this or this is a bug from syncfusion. Thanks Rohith.

stanleyj [Syncfusion]
Replied On February 2, 2006 01:49 AM

Hi Rohith, You will have to reassign in some handler like code below. private void gridControl1_CurrentCellMoved(object sender, Syncfusion.Windows.Forms.Grid.GridCurrentCellMovedEventArgs e) { cell = this.gridControl1[2,2]; } The other way is to directly access the cell through the indexer instead of relying on the GridStyleInfo variable. Best regards, Stanley


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.