ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: queensgambit9 on April 10, 2019, 08:21:26 pm
-
Do grouped columns work with local export?
https://paramquery.com/pro/demos/export_local
-
Yes
-
Can't get it to work...do I need to modify anything compared when using no grouped columns?
Looks fine in grid but do not work in export to Excel.
-
It doesn't need any modification. Do you get any error?
-
Parent column has hidden: false...
Seems like this:
beforeExport: function( event, ui ) {
var Cols = grid.Columns();
Cols.alter(function(){
Cols.each(function(column){
column.copy = !column.hidden;
})
})}
Causes the parent column not be written out to excel, (although the extra line is there).
-
column.copy is not supported for grouped columns
https://paramquery.com/pro/api#option-column-copy