Hi All,

Hoping someone might be able to help me here,  

I'm trying specify a click function to a jqGrid's row during the
loadComplete event but having difficulty 'getting to' the tr element..

What I've been trying is this sort of thing but with no result..

        var ids = jQuery("#cell_list").getDataIDs();
        /* for each row loaded */
        for(var i=0;i<ids.length;i++){
            var row = ids[i];
            $(row).children('td').click(function(){
                  // do something here....
            })
       }

Any advice here greatly appreciated,

Thanks
-- 
View this message in context: 
http://old.nabble.com/How-to-add-click%28%29-function-to-a-tr-during-grid-loadComplete-function.-tp26328069s27240p26328069.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to