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
2170
How to do styling for a specific cell
posted

Hi,

I want to change the style (backgroundcolor, etc.) for a specific cell and this isn't data driven, meaning the style has nothing to do with the value of that cell. I've tried to retrieve the CellValuePresenter and set its property. However, because of the reusing of CVP when scrolling, other un-styled cells get this style as well. Is there a way to achieve this? Thanks

 

Parents
  • 69686
    posted

    You should use a style for the CellValuePresenter rather than setting the background locally. You can assign different cellvaluepresenter styles for different Fields at their Settings-CellValuePresenterStyle property. You can also use Style triggers if you want to change the background conditionally.

Reply Children