Hello,
My UltraGrid is set to RowLayoutStyle because we need to support fixed columns. Is there a way to allow user to change the column header height?
Your help is greatly appreciated!
Best regards,Shaolin
Hi Shaolin,
This is possible to achieve through a CreationFilter and custom UI element. Please take a look at the attached sample to see how we achieved it.
Hi Mike,
Thanks for your reply!
Proerty ColHeaderLines is not what I am looking for. What I want is to allow user to change the header height by clicking on the bottom edge of a column header and dragging up or down, in the similar way of changing a column width. As I mentioned earlier, I have my own HeaderUIElement that is derived from Infragistics HeaderUIElement. I need suggestions of overriding some of the methods.
While in Groups and Levels mode, header height is controlled by the ColHeaderLines property. For this reason, the header height cannot be expressed in pixels.
It may be possible to add some kind of custom element to the UI which users can drag around that dynamically sets the ColHeaderLines property. However, such an implementation would be out of the scope of developer support. If you go forward with this implementation and have specific questions, do let me know and I can help point you in the right direction.
Please let me know if you have any further questions.
I am quite disappointed. I have my own HeaderUIElement class that is derived from Infragistics HeaderUIElement. What methods do I have to override in order to make the header adjustable vertically?