how to change columnheader color to origional color when protect is true

Posted by: hibwja on 1 January 2020, 6:55 pm EST

  • Posted 1 January 2020, 6:55 pm EST

    I have a questions , when I set fpspread1.activesheet.protect = tue
    the columnheader is hard to read , it turns to disable style . It will becomes hard to read. how to return to it's normal state .
    thanks.
  • Marked as Answer

    Replied 1 January 2020, 7:27 pm EST

    Hi,

    I understand. To resolve this, I suggest you to please find my reply towards the same question asked by another customer: https://www.grapecity.com/forums/spread-winforms/protected-sheet-skin#hi-markto-change-the-forec

    Should you need anything in addition to it, feel free to let me know.

    Best wishes,
    Ruchir
  • Replied 2 January 2020, 2:47 am EST

    Ruchir.Agarwal said:
    Hi,

    I understand. To resolve this, I suggest you to please find my reply towards the same question asked by another customer: https://www.grapecity.com/forums/spread-winforms/protected-sheet-skin#hi-markto-change-the-forec

    Should you need anything in addition to it, feel free to let me know.

    Best wishes,
    Ruchir


    I found this post before I asked. and download the zip for , but the columnheader still in disabled mode.
    I had been use farpoint spread version 5 . I don't need to set fpspread to protect mode and I can set columns to be in disable mode. but in version 12 ,I have to set protect property to be true . so I can set columns locked.
    In my situation is I need to lock some columns , and unlock others column. and do not change my columnheader color. what should I do ? thanks.
  • Replied 2 January 2020, 4:00 am EST

    I found one property is missing, it works , set the legacyBehaviors to be style. and it workd like version 5. thanks.
  • Replied 2 January 2020, 3:35 pm EST

    Hello,

    We are glad that you were able to find the missing property to follow the suggestion.

    ~Ruchir
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels