Author Topic: group title picture  (Read 1835 times)

omerix

  • Pro Enterprise
  • Full Member
  • *
  • Posts: 147
    • View Profile
group title picture
« on: June 07, 2017, 04:53:51 pm »
The group title is showing the picture. How can I not show it?

Code: [Select]
,{title: "R", dataIndx: "BTNTAHSIS", width: 16,dataType:"string",editable:false
,render: function (ui) {return {cls:'',text:"<img src='../QImg/i16/cat.png' class='icn'/>"};}
}

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: group title picture
« Reply #1 on: June 07, 2017, 10:54:15 pm »
Picture in group title row can be excluded by checking existence of ui.rowData.pq_gtitle property in render callback.

https://paramquery.com/pro/api#option-groupModel
« Last Edit: June 07, 2017, 11:03:52 pm by paramquery »