Skip to content Skip to sidebar Skip to footer

How To Customize The Export Grid Menu On Angular-ui-grid?

I have a grid that has an external 'Show Details' option which would add more columns to the grid. The issue is the 'Export all data' vs 'Export visible data' which becomes deceiv

Solution 1:

Good morning

I had the same problem in my project and i used following configuration in the options:

You can hide the ui-grid menu-entries for exporting by using exporterMenuPdf: false, exporterMenuCsv: false,

To add some custom menu-entries, you can use gridMenuCustomItems: [ { icon: 'fa fa-print', title: 'Text of the menu-item', action: function ($event) { self.someFunction(); }, order: 100 } ],

Hope it helps...

Greets Christian

Post a Comment for "How To Customize The Export Grid Menu On Angular-ui-grid?"