ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: jplevene on March 25, 2026, 05:46:04 pm

Title: exportRender not working
Post by: jplevene on March 25, 2026, 05:46:04 pm
It doesn't seem to be calling the function:

exportRender:function(ui){ return { text:ui.rowData["noChild"]?"":"+" }; }
Title: Re: exportRender not working
Post by: jplevene on March 25, 2026, 06:39:43 pm
Was about to update my above comment, exportRender:false also doesn't work.  I am applying this to a detail grid on the icon type:"deatil" column

Even exportRender:function(ui){return false;} does not work

I tried skipExport:true which works obviously, however this column is the first column and is frozen which causes the next column to be frozen, or in the case of my grid the 3rd column as the first two are frozen
Title: Re: exportRender not working
Post by: paramvir on March 25, 2026, 10:26:30 pm
exportRender is not a callback, can you please explain your objective?
Title: Re: exportRender not working
Post by: jplevene on March 25, 2026, 11:15:20 pm
Even setting it to "false" didn't work.

It's not a problem for me as I just used "skipExport" and in "render" I do a different export for export.

Looking at it again, the API guide isn't clear as it says:

column.exportRenderType: Boolean
Rendered cell values ( otherwise raw cell data ) in this column are included in the exported data when this option is true.
This option overrides render parameter of exportData() method for the current column.

Maybe  the second line above should be:
When this option is true (default), the rendered cell (if render is used) is exported, otherwise the raw cell data value is exported.