Skip to main content

Posts

Showing posts with the label angularjs ng-grid hide column

How to hide column in AngularJs ng grid?

Hi, I am going to share the code sample for "How to hide column in ng grid "? and after hide the column some question keep in mind as given below. After hiding the your columns, may I get the columns value when I select some row? Answers is Yes!! Click for live demo  In AngularJs, we can achieve this using column property visible: false . i.e. 1 2 3 4 5 6 //We can achieve this using the property visible: false. i.e.   columnDefs: [          { field: 'UserId' , displayName: 'UserId' , visible: false },          { field: 'Name' , displayName: 'UserName' },          { field: 'Qualification' , displayName: 'Education' }] //We can achieve this using the property visible: false. i.e. columnDefs: [ { field: 'UserId', displayName: 'UserId', visible: false }, { field: 'Name', displayName: 'UserName' ...