Me-thinks your code is making an array of custom objects not TR
elements.
Each object in your array has a .row property which does refer to a TR
element, so $(row.row).addClass("bold") might work.

That said, I'd be more inclined to use jQuery to do the work...
For example: (Note I've used a $ prefix on variables to help indicate
those that are jQuery objects)

        var $columnCells = $("#srTable>TBODY>TR>TD:nth-child(1)");

Then to loop through them:

        $columnCells.each(function(){   // Or $columnCells.parent("TR").each...
                if( -whatever- ){
                        $(this).parent("TR").addClass("bold");
                }
        })

Hope this helps.
George

> The problem is later when I'm trying to add or remove class in jquery
> fashion like $(row).addClass("bg_litegray") its giving some error. I think
> I'm doing it wrong. Can anyone  of you suggest me how to use this row
> similar to $("#srTable tbody tr") in jquery so that I can add class, remove
> class, apply filter like $(row).filter('[EMAIL PROTECTED]"refine"]')....etc...

Reply via email to