Author Topic: how to add class for cell  (Read 1472 times)

sshede

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 41
    • View Profile
how to add class for cell
« on: August 18, 2021, 05:14:27 pm »
Hi

Hi How to add class in 2 cell for same row.
Please check below code. Not working below code.

  { title: "Audit", dataType:"string",dataIndx: "actions", width: 70 , cls:'pqImgClass',menuIcon: false,tpHide: true,
                    render : function (ui) {
rowData.pq_cellcls = rowData.pq_cellcls || {};
rowData.pq_cellcls["text1"] ="pqImgClass";
rowData.pq_cellcls["text2"] ="pqImgClass";
 }
                },

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: how to add class for cell
« Reply #1 on: August 24, 2021, 09:47:29 pm »