Menu

Specific Row Style

Help
philfuse
2005-10-05
2012-10-09
  • philfuse

    philfuse - 2005-10-05

    Is there any way to apply a style to just one row in a table?

    i've tried passing in style / class parameters to the columns based on some rules but it seems whatever the style of the column in the first iteration. All subsequent iterations have the same style.

    i bascially just want to highlight a row in the table somehow but don't want to do it via javascript..

     
    • Benoit

      Benoit - 2005-10-05

      I think you can create a table's Decorator.
      Have a look to finshedRow() in API ...

       
    • philfuse

      philfuse - 2005-10-05

      Thanks for the reply.
      Had a play with the table decorator but it only seems to let you insert HTML directly before and directly after the <tr> tags.

      which seems odd as this is of no use?

      I've looked through the code and it seems that there is no way of getting into the <tr> tag to provide an inline style / class. I wonder is there any plan to include such functionality?

       
      • mt_struts

        mt_struts - 2005-10-05

        I had a similar issue, I wanted access to the attributes of the <a> tag in a sortable column header and couldn't access it.

         

Log in to post a comment.

MongoDB Logo MongoDB