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
  • 1650
    posted

    First you will need to handle the BeforeSortChange event. In that event you will need

    e.Cancel = True

     

    To remove the pin and filter icons you have to set the properties of the column.

    Filter: COLUMN.AllowRowFiltering = False

    Pin: Could not find a property on the column

     

     

Children