angular-ui/ui-grid

ui grid menu: customize the default menu option to show/hide column

Chiusa

#5309 aperta il 12 apr 2016

 (1 commento) (4 reazioni) (0 assegnatari)JavaScript (2496 fork)batch import
good first issue

Metriche repository

Star
 (5395 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

I have enabled the grid menu using gridOptions.enableGridMenu = true. I am getting the grid menu with an option to show/hide individual columns. I would like to customize the "columns" text that appears here. I am not using the i18 service of Angular as I have my own resources. How can I change that text? Please refer to the picture. Also, can i hide the "Clear all filters" menu item?

capture

Guida contributor