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
280
How can I change the format of a single cell in a selected grid row?
posted

I have a grid that is bound to a collection of objects. There are cases where I need to change the foreground color of a specific cell in a row to red. I have this working except for when the row is selected. When a row is selected the text color for all of the cells in the entire row changes to white. When that happens the user cannot tell that the cell in question is red until he selects a different row. How can I keep the formatting of my cell even when the row is selected?

Thanks,

Matt

Parents
  • 48586
    posted

    Hello ,

     

    Appearance objects are applied based on the hierarchy, and selected and Active row appearance are with high priority.  On this way end user always  know which exactly row is selected and which is active. Ultimately customer know which rows he was selected. That is why and UltraGrid works on this way. However you could use IUIDrawFilter interface in order to control drawing process of UltraGrid components. I’ve implemented simple sample for you, it is with Infragistics 14.1 and the same approach also should works with Infragistics 8.2.

     

    I hope that this will helps you.

    13.7z
Reply Children