0
votes

I am using angular ui-grid and using external button to export as a csv file.

The final grid menu is similar to as attached.

From this, i need to remove the export as buttons. But the columns should be there in the grid menu.

How can i achieve this?enter image description here

2

2 Answers

0
votes

There are gridOptions to hide the exportbuttons.

exporterMenuCsv: false,
exporterMenuPdf: false,

I created a Plunkr.

0
votes

Remove all references to the 'ui-grid-exporter' directive on your grid. That would remove all export options you see under the Grid Menu for all file formats.