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
65
How to change the behavior of the column header
posted

Hi from Germany,

can anybody tell me how the disable the sort method of the column header?

And how can i delete the pin and the filter symbol from the columns header? 

 I use ultragrid 2009.2

Thank you very much!

 

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    mebert said:
    can anybody tell me how the disable the sort method of the column header?

    You should use the HeaderClickAction property for this.

    mebert said:
    And how can i delete the pin and the filter symbol from the columns header? 

    AllowRowFiltering is the correct property to use for the filter icon.

    For the pin button, I would use:

    e.Layout.UseFixedHeaders = false;

     

    But please note that all three of the features you are trying to turn off are off by default. So you might be better off trying to find out where you are turning these features on and removing that rather than turning them on and then turning them off again.

Children
No Data