ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: ntoscano on October 27, 2016, 05:50:03 am

Title: How to add multiple styles to an individual cell
Post by: ntoscano on October 27, 2016, 05:50:03 am
If a particular cell in a row as multiple styles ( bold, underline, top-align, etc..), how can you add the individual classes to the cell?
I've tried the following structure with no success:
Code: [Select]
var data = [
    {rank:4, company:'BP', revenues:'267,600.0',profits: '22,341.0', pq_rowcls: "red", pq_cellcls: { "company": { color : "green", bold: true} },
    {rank:5, company: 'General Motors',revenues: '192,604.0', profits:'-10,567.0'},
   
];