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.

Return to the first status

Thread ID:





7531 Sep 29,2003 11:13 PM Oct 16,2003 06:18 PM Windows Forms 6
Tags: GridControl
Asked On September 29, 2003 11:13 PM

when I have seted some Syle in the gridControl,how can I reset it to the status before I do that.

Administrator [Syncfusion]
Replied On September 30, 2003 08:20 AM

If you want to clear out all style settings you can call ClearCells. I you only want to remove a specific style properties you should ChangeCells and specify StyleModeType.Exclude. Let me know if you need more info. Stefan

Replied On October 7, 2003 09:03 PM

I want to clear out all style settings.By the way,how to call ClearCells? I don't know how to set the first parameter.. ^_^

Administrator [Syncfusion]
Replied On October 8, 2003 05:45 AM

Try ClearCells(GridRangeInfo.Table, true); Stefan

Replied On October 16, 2003 12:51 AM

thanks Stefan , I use gridControl1.ClearCells(GridRangeInfo.Table(),true) to reset a gridControl,but sometimes it working well and sometimes not. why?

Administrator [Syncfusion]
Replied On October 16, 2003 04:45 AM

Are some of you cells readonly, or maybe this is a griddataboundgrid with some readonly columns in your datasource? Can you post a little sample project showing when this call does not work?

Replied On October 16, 2003 06:18 PM

Sorry,I set readdonly is ture.now it working well. thanks again!


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.