11
Help for ParamQuery Pro / Re: Icon in column header
« Last post by paramvir on June 19, 2025, 07:31:32 pm »Code example of adding icon using DOM manipulation:
Code: [Select]
refreshHeader: function(evt, ui) {
var $headerCell = this.getCellHeader({ colIndx: 0 });
var $title = $headerCell.find('.pq-title-span');
// Prevent duplicate icons
if ($headerCell.find('.ui-icon-disk').length === 0) {
$("<span class='ui-icon ui-icon-disk'></span>").insertAfter($title);
}
},