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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Return to the first status

Thread ID:





7531 Sep 30,2003 03:13 AM UTC Oct 16,2003 10:18 PM UTC WinForms 6
Tags: GridControl
Asked On September 30, 2003 03:13 AM UTC

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 12:20 PM UTC

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 8, 2003 01:03 AM UTC

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 09:45 AM UTC

Try ClearCells(GridRangeInfo.Table, true); Stefan

Replied On October 16, 2003 04:51 AM UTC

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 08:45 AM UTC

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 10:18 PM UTC

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.

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

Live Chat Icon For mobile
Live Chat Icon