ADAdministrator Syncfusion Team 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.
KIKisOctober 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.. ^_^
ADAdministrator Syncfusion Team October 8, 2003 05:45 AM
KIKisOctober 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?
ADAdministrator Syncfusion Team 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?
KIKisOctober 16, 2003 06:18 PM
Sorry,I set readdonly is ture.now it working well.