Announcement

Collapse
No announcement yet.

How to change the entire row style on a grid?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to change the entire row style on a grid?

    I am working on a grid and need to change the background on the "entire row" based on the value of a field that changes like a control break. I can use sc_field_style() macro however this only changes the background on each field but I need the "entire row" to change background color is there a macro for this? thanks.

  • #2
    Well I hate to state the hardest option, but I think that is what we are left with..
    Have you tried just dong every field?
    sc_field_style({FIELD1}, '#33FF99');
    sc_field_style({FIELD2}, '#33FF99');

    etc... works....

    Comment


    • #3
      Hello KDriscoll,
      Thank you for answering but yes I have code to change each column however, I don't know how to change the background for the automatic columns that get added to a grid like the "edit column" or the "line number column" so yes most of them have the background check except for those and that is why I am looking for a way to do the entire row. Thanks again.

      Comment


      • #4
        Hi javerx1.

        I tried to find solution because I need it. I used sc_field_style/color for each column. Of course, I am not satisfied with it - a lot of codding. But I found othe workaround for it - with template. Look there: http://www.scriptcase.net/forum/show...ight=row+style.

        daretzki

        Comment

        Working...
        X