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
75
How to change the style of header checkbox?
posted

Hi,

I have a boolean type column in the grid and set its style to checkbox. Also I set its header checkbox visibility property to Always to enable the header checkbox. In order to apply some custom style on the default checkbox in the column, I added a checkbox Editor and set the column's EditorComponent property as this custom checkbox Editor. Now all the cells except the header cell can display as this custom Editor's style. How can I change the style of header checkbox? Looking forward to your feedbacks.

FYI. I'm using version NetAdvantage 2010.1.

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    What exactly is your custom style doing? Are you simply changing the appearance of the checkbox? Are you assigning a GlyphInfo? Are you using images?

    The column header checkbox doesn't support editors. But you can set the glyphs on a control or application level. If you are using images, then you can probably achieve what you want using a DrawFilter or CreationFilter. But it's impossible to say what the best approach is without knowing what you are trying to change.

     

Children