Columns get disappered while Unfreezing

Hi,
I am using Grouping Grid and need to freeze and unfreeze columns.

when I say "dgRangePlanGrid.TableDescriptor.FrozenColumn = selectedColumn;"
where selectedcolumn is the column which I need to freeze.

It does not freeze the selected column instead I need to click on the columns to get it into effect.


And while I say
"dgRangePlanGrid.TableDescriptor.FrozenColumn = String.Empty;"

to unfreeze the columns,what it does it does not show all the columns which was froozen,it just simply removes it from the Grid.And I need to click on the Grid to get them visible.

pls help.

Rgds,
Ejaz

3 Replies

HA haneefm Syncfusion Team April 19, 2007 08:41 PM UTC

Hi Ejaz,

You can try calling the Reinitialize method after freeze/ unfreeze the columns in a grid (changing the TableDescriptor.FrozenColumn property). Here is a code snippet.

//unfreeze the columns
this.gridGroupingControl1.TableDescriptor.FrozenColumn = string.Empty;
//Freeze the columns
this.gridGroupingControl1.TableDescriptor.FrozenColumn = "ColumnName";

this.gridGroupingControl1.Reinitialize();

Best regards,
Haneef


FW Feng Wen July 10, 2007 03:59 PM UTC

Mine still doesn't work:(

>Hi Ejaz,

You can try calling the Reinitialize method after freeze/ unfreeze the columns in a grid (changing the TableDescriptor.FrozenColumn property). Here is a code snippet.

//unfreeze the columns
this.gridGroupingControl1.TableDescriptor.FrozenColumn = string.Empty;
//Freeze the columns
this.gridGroupingControl1.TableDescriptor.FrozenColumn = "ColumnName";

this.gridGroupingControl1.Reinitialize();

Best regards,
Haneef


HA haneefm Syncfusion Team July 10, 2007 07:22 PM UTC

Hi Frank,

We were not able to reproduce the issue here. Is it possible for you to upload us a sample or modify the browser sample to reproduce the issue here? This will help us to analyse the issue further.

Best Regards,
Haneef

Loader.
Up arrow icon