mercredi 4 février 2015

Angular ng- grid - hide/remove column input from column menu


When you use the flag 'showColumnMenu' with true value. the ng-grid is rendered with button on the right end top panel.


Using this button we can hide/show the column on the grid.


In my Case I don't want to make it possible for some column to be visible on the grid - Meaning I want the the column menu box will be rendered with out some column.


Iv'e make plunker which demonstrated my problem



> http://ift.tt/1CvSSka


In that plnkr - I set column 'Id' to be invisible using (visible: false) But if the user click on the column menu on the right end panel he will be able to set it visible..


how can I remove the column 'id' from the column menu?


Thanks!





Aucun commentaire:

Enregistrer un commentaire