Freezing and unfreeze columns does not come into effect

Hi,
I am using GGC and need to freeze and unfreeze columns.I did the following statements

this.dgRangePlanGrid.TableDescriptor.FrozenColumn = _selectedColumn;
this.dgRangePlanGrid.Reinitialize();

but when I unfreeze by

this.dgRangePlanGrid.TableDescriptor.FrozenColumn = String.Empty;
this.dgRangePlanGrid.Reinitialize();

and refreeze on other columns like

this.dgRangePlanGrid.TableDescriptor.FrozenColumn = _selectedColumn1;
this.dgRangePlanGrid.Reinitialize();

it still freeze on the previous colum say for ex 'selectedColumn'.

pls help and if possible could suggest some code snippet.

Thanks,
Ejaz

3 Replies

HA haneefm Syncfusion Team June 19, 2007 08:11 PM UTC

Hi Ejaz,

Please try calling the ResetVolatileData() method after setting the FrozenColumn in a grid.

this.gridGroupingControl1.TableModel.ResetVolatileData();

Best regards,
Haneef


EJ ejaz June 27, 2007 07:47 AM UTC

Hi,
it is not working.same effect.
pls suggest some other method.

>Hi Ejaz,

Please try calling the ResetVolatileData() method after setting the FrozenColumn in a grid.

this.gridGroupingControl1.TableModel.ResetVolatileData();

Best regards,
Haneef


HA haneefm Syncfusion Team July 3, 2007 12:28 AM UTC

Hi Ejaz,

Thank you for your update.

I am not sure of what be might be causing this strange behavior without a working sample. Is it possible for you to upload us a minimal sample to reproduce the issue here? This will help us to analyse the issue further.

Best regards,
Haneef

Loader.
Up arrow icon