ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: mikep on July 29, 2021, 08:38:24 pm
-
Do you have any example on how to create a column that can contain 0 to many indicator icons, based on the row's data?
-
I updated the Subject line to "icons"
-
Please use column.render callback
render: function(ui){
var rd = ui.rowData;
if ( condition based on rd ){
//return html for rendering icons / images.
}
}
-
-What is syntax to add an icon to a column?
-Do I need to create a column for each icon? If not, how do I show/hide each icon in a single column?
-
Any no of icons can be displayed in a single column.
<img src='path to icon1'/>
<img src='path to icon2'/>
...