Click here to Skip to main content
16,016,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am using DataGrid control in my application.

Requirement is i need to freeze first 2 and last 1 column of DataGrid.

I am using
DataGrid1.FrozenColumnCount =2;


But by this only first two columns get freeze.

How can i freeze my last column also.

Please please guide me.

thanks in advance.
Posted

1 solution

Can you move the last column to the second location?
In the current release, you can only freeze one section of the datagrid, not two.
 
Share this answer
 
Comments
Member 8100743 5-Aug-11 2:32am    
Actually my last column is of Total of all, so i want to show it at the end.

So..... is nay other way ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900