Hi,
It seems that UltraGrid does not allow a column header to be dragged between fixed headers and non-fixed headers. We have a requirement. A fixed column header can be dragged into non-fixed header area and becomes a non-fixed. A non-fixed column header can be dragged into fixed header area and becomes a fixed. Any suggestion is greatly appreciated!
Best Regards,Shaolin
Hi Shaolin,
Thank you for posting in our forums!
Opposed to what you claim, the UltraGrid actually does allow a fixed column header to be dragged and dropped between non-fixed column headers and as a result becomes a non-fixed column header and vice versa, a non-fixed column header can be dragged and dropped between fixed column headers as a result becomes a fixed column header.
Please refer to the attached sample application. For example, drag and drop the non-fixed “String column” header between the two fixed column headers “Boolean column” and “Integer column” and it will become a fixed column. Then return back the “String column” header between the two non-fixed column headers “DateTime column” and “Decimal column” and it will become again a non-fixed column.
Please let me know if you have any additional settings applied to your UltraGrid or I misunderstand something.
Hi Ivaylo,
Thanks so much for your response!
It is quite interesting to figure out why this feature did not work in my application. the reason is that I disabled fixed header indicator:
e.Layout.Override.FixedHeaderIndicator = FixedHeaderIndicator.None;
I guess that restriction is by design, but I don't think it is necessary. I just need to find a way to hide those fixed header indicators.