Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2907
How to set fixed column programatically?
posted

Hello,

I need to set some columns fixed programmatically. For that I have tried IsFixed property in following way but it is not working.

 

grd1.ItemsSource = data;

(grd1.Columns[0] as Column).IsFixable = true;

(grd1.Columns[0] as Column).IsFixed = FixedState.Left;

 

I am using IsFixed property immediately after data binding. Should I use any specific events to use it?

 

Thanks,

HBA

 

Parents
No Data
Reply Children
No Data