ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: jplevene on July 20, 2025, 11:19:55 pm

Title: Add an html element in a blank filter column cell.
Post by: jplevene on July 20, 2025, 11:19:55 pm
In my grid, some cells have filters, others don't.  In one of the columns that does NOT have a filter (so the filter cell is blank), I want to insert my own HTML element.  How do I do this?
Title: Re: Add an html element in a blank filter column cell.
Post by: paramvir on July 21, 2025, 07:56:44 pm
non filter cells in filter row are not configurable, however following workaround can be used:

Code: [Select]
filter:{
crules:[{condition:'equal'}],//use some condition.
init: function(ui){
ui.$cell.html("Empty");//insert custom html.
return true;
}
}
Title: Re: Add an html element in a blank filter column cell.
Post by: jplevene on July 22, 2025, 07:35:58 pm
Should have mentioned that I already did this.  Just wondered if there was another way.  Thanks