Hello,
I want to paint row with addClass when I do "rowClick" but it doesn't work.
The codes I tried;
1) $('Pq1117Recete').pqGrid('addClass', {rowIndx: ui.rowIndx,cls: 'pq-striped-error'});
Not working, No Error
2) this.pqGrid('addClass', {rowIndx: ui.rowIndx,cls: 'pq-striped-error'});
Not working.
Error:Uncaught TypeError: this.pqGrid is not a function
3) grid.pqGrid('addClass', {rowIndx: ui.rowIndx,cls: 'pq-striped-error'});
Error: Uncaught TypeError: grid.pqGrid is not a function
pqgrid.css
.pq-striped-error {
background-color:rgba(245, 132, 132, 1.0) !important;
color:#ffffff !important;
}
.pq-striped-ok {
background-color:rgba(169, 208, 142, 1.0) !important;
border-color:rgba(169, 208, 142, 1.0) !important;
color:#000000 !important;
}
http://jsfiddle.net/omerx/0wgs1orb/141/