Author Topic: How to add multiple styles to an individual cell  (Read 1648 times)

ntoscano

  • Pro OEM
  • Newbie
  • *
  • Posts: 6
    • View Profile
How to add multiple styles to an individual cell
« 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'},
   
];