Simple Invoices logo
    • CommentAuthorpepwallace
    • CommentTimeOct 19th 2007 edited
     permalink
    hi,

    I have seen that simple invoices is using a component (ricoLiveGrid) to get the lists sortable. In this lists the even rows is painted with one color and the odd rows in another color.

    In the invoices list I have a column where I print "yes" or "no", depending if the invoice has been paid or not. Now I want to print the rows of the paid invoices with another color, but I can´t find the way, as the ricoLiveGrid aplies a kind of "facade" in front of the html written in /invoices/manage.tpl.

    Any help ? Thanks !!!
    • CommentAuthorjustin
    • CommentTimeOct 20th 2007 edited
     permalink
    Hey PepWallace,

    yep rico does do a facace on the grid

    check out the css files in : ./modules/include/js/lgplus/css/

    if you want the row to be another colour you'll have to add a specific css class to that row and then edit the css files to add something ie,
    .pepRowBg
    {
    background-color:#dcdcdc;
    }


    best option is to use firebug in firefoc and mess aournd with the css until you get it right

    also note: in the next release (1-2 months) we've removed ricoLiveGrid and started using extjs.org's grid

    Cheers

    Justin