i want to highlight rows in editable grid with some colors

Certified Senior Developer

In our application we are displaying customers list in editable grid based on status we have to highlight the row for example of status = matched then row should be green not matched it should be yellow how can i do please help as per my knowledge we cant give color in editable is there any way .

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Aside from what Stefan mentioned, you can also use text colors thanks to the Rich Text Display Field.

    However as per usual I believe many use cases are attempting to use the Editable grid when the  Paging (read-only) grid might be a better choice, and of course it also enables cell-by-cell (column-wise conditional) highlighting in an arbitrary color.  So you may reconsider which grid style you actually find better to use, depending on how heavily you're relying (if at all) on actual editable fields within the grid.

  • 0
    Certified Senior Developer
    in reply to Mike Schmitt

    Hi Mike, thanks for your suggestion in my case, I specifically need to highlight the entire row in editable grid not just a cell or column. the reason i am using an editable grid instead of a read-only is users must also be able to add new customers 

Reply Children
  • 0
    Certified Lead Developer
    in reply to gaddam0981
    the reason i am using an editable grid instead of a read-only is users must also be able to add new customers

    Is there any reason you can't use one of the common usage patterns for adding new items to a read-only grid?  This involves simply utilizing an "add item" link (or similar) which then gives the user a special section with the fields required for providing the information on the contents of the item they're adding, and when they "save" the new addition, it appears in the grid.  This works well unless you specifically need users to have the ability to edit certain columns in multiple rows arbitrarily at any given time, which I've found is usually not really the case except for specialized use cases.