This repository was archived by the owner on Jun 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/app/modules/angular-slickgrid/services Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ export class ControlAndPluginService {
273
273
}
274
274
275
275
// show grid menu: export to file
276
- if ( options && options . gridMenu && options . gridMenu . showExportCsvCommand && options . gridMenu . customItems && options . gridMenu . customItems . filter ( ( item : CustomGridMenu ) => item . command === 'export-csv' ) . length === 0 ) {
276
+ if ( options && options . enableExport && options . gridMenu && options . gridMenu . showExportCsvCommand && options . gridMenu . customItems && options . gridMenu . customItems . filter ( ( item : CustomGridMenu ) => item . command === 'export-csv' ) . length === 0 ) {
277
277
options . gridMenu . customItems . push (
278
278
{
279
279
iconCssClass : 'fa fa-download' ,
@@ -285,7 +285,7 @@ export class ControlAndPluginService {
285
285
) ;
286
286
}
287
287
// show grid menu: export to text file as tab delimited
288
- if ( options && options . gridMenu && options . gridMenu . showExportTextDelimitedCommand && options . gridMenu . customItems && options . gridMenu . customItems . filter ( ( item : CustomGridMenu ) => item . command === 'export-text-delimited' ) . length === 0 ) {
288
+ if ( options && options . enableExport && options . gridMenu && options . gridMenu . showExportTextDelimitedCommand && options . gridMenu . customItems && options . gridMenu . customItems . filter ( ( item : CustomGridMenu ) => item . command === 'export-text-delimited' ) . length === 0 ) {
289
289
options . gridMenu . customItems . push (
290
290
{
291
291
iconCssClass : 'fa fa-download' ,
You can’t perform that action at this time.
0 commit comments