Disable the editable for rows

43 views
Skip to first unread message

vivek gs

unread,
Oct 1, 2013, 2:59:56 AM10/1/13
to param...@googlegroups.com
HI,

I used to remove the editable for particular row.

i used this 

$("#pqgrid").pqGrid( "option", "editable", function(ui){
                    var rowIndx = ui.rowIndx;
                    if ( $(this).pqGrid("hasClass", {rowIndx: rowIndx, cls: 'inactive' } ) ) {
                        return false;
                    }
                    else {
                        return true;
                    }  
                });


In table > tr i having the class has inactive but it doesn't seem to be working
Reply all
Reply to author
Forward
0 new messages