Hi
I want to use the UseFixedHeaders option to allow some columns to be always visible and this works fine.
What I would like to be able to do is to prevent users from changing the collection of columns that are pinned - i.e. to be able to remove the pin from the header on all columns.
Is this possible or is it the case that if you have the fixed headers turned on, then you have to have the pin there as well?
TIA
Alan
Hi Alan,
Pretty much everything is reset when you set the DataSource. This is why you should use the InitializeLayout event for settings like this. The event will fire every time the DataSource is changed.
Hi Mike,
It seems that this property is reset when the data source is changed - I don't know if that is intentional or not, but if I set the property after I've set my data source then all is well with the world
Thanks Mike,
I knew there'd be an obvious property somewhere - just a case of finding it!
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { e.Layout.Override.FixedHeaderIndicator = FixedHeaderIndicator.None; }