How to anchor a column in a grid?
Hi,
I have a Grid with x number of columns.When the user scrolls across the grid, I want the position of the first column displayed to be fixed/anchored and the remaining columns to scroll.The idea being that the first column is always visible to the user.
Is there any way of doing this?
Thanks in advance.
Maire
I have a Grid with x number of columns.When the user scrolls across the grid, I want the position of the first column displayed to be fixed/anchored and the remaining columns to scroll.The idea being that the first column is always visible to the user.
Is there any way of doing this?
Thanks in advance.
Maire
SIGN IN To post a reply.
4 Replies
AD
Administrator
Syncfusion Team
October 11, 2006 08:52 AM UTC
Hi Maire,
You can freeze rows or columns by using FrozenCount property. The grid.Model.Cols.FrozenCount and the grid.Model.Rows.FrozenCount to freeze columns and rows respectivley in Grid. Kindly refer to the below KB article for details.
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=240
Best Regards,
Haneef
You can freeze rows or columns by using FrozenCount property. The grid.Model.Cols.FrozenCount and the grid.Model.Rows.FrozenCount to freeze columns and rows respectivley in Grid. Kindly refer to the below KB article for details.
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=240
Best Regards,
Haneef
AD
Administrator
Syncfusion Team
October 13, 2006 08:24 AM UTC
Thanks for your reply Haneef, but I am using the GridDataBoundGrid Control which doesnt seem to support this property.
Is there another workaround for this?
Many thanks.
Maire
>Hi Maire,
You can freeze rows or columns by using FrozenCount property. The grid.Model.Cols.FrozenCount and the grid.Model.Rows.FrozenCount to freeze columns and rows respectivley in Grid. Kindly refer to the below KB article for details.
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=240
Best'>http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=240''>http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=240
Best Regards,
Haneef
Is there another workaround for this?
Many thanks.
Maire
>Hi Maire,
You can freeze rows or columns by using FrozenCount property. The grid.Model.Cols.FrozenCount and the grid.Model.Rows.FrozenCount to freeze columns and rows respectivley in Grid. Kindly refer to the below KB article for details.
http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=240
Best'>http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=240''>http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=240
Best Regards,
Haneef
AD
Administrator
Syncfusion Team
October 14, 2006 10:35 AM UTC
Hi Maire,
Please try this code snippet:
Here is a small sample:
GDBG_FrozenColumns.zip
Best Regards,
Jeba.
Please try this code snippet:
this.gridDataBoundGrid1.Model.Cols.FrozenCount=2;
this.gridDataBoundGrid1.Model.Rows.FrozenCount=5;
Here is a small sample:
GDBG_FrozenColumns.zip
Best Regards,
Jeba.
AD
Administrator
Syncfusion Team
October 16, 2006 09:50 AM UTC
Hi Jeba,
This worked perfectly .
many thanks
Maire
>Hi Maire,
Please try this code snippet:
Here is a small sample:
GDBG_FrozenColumns.zip
Best Regards,
Jeba.
This worked perfectly .
many thanks
Maire
>Hi Maire,
Please try this code snippet:
this.gridDataBoundGrid1.Model.Cols.FrozenCount=2;
this.gridDataBoundGrid1.Model.Rows.FrozenCount=5;
Here is a small sample:
GDBG_FrozenColumns.zip
Best Regards,
Jeba.
SIGN IN To post a reply.
- 4 Replies
- 1 Participant
-
AD Administrator
- Oct 11, 2006 08:15 AM UTC
- Oct 16, 2006 09:50 AM UTC