How to remove filtering from Angular UI-Grid -


i want display grid no filters on header using angular ui grid.currently below code im getting filters @ column header.

app.controller('mainctrl', ['$scope','$http', function ($scope,$http) {        $scope.gridoptions = {};       $http.get('data/grid1.json')       .success(function(data) {         $scope.gridoptions.data = data;       }); }]); 

below html grid loaded

<div id="grid1" ui-grid="gridoptions" class="grid"></div> 

here sample how looks http://ui-grid.info/

could suggest me how remove these filters

if trying remove filter single column only, columndefs should specify

enablefiltering 

i column add actions:

var actioncol = {     name: 'actions',     width: '90',     celltemplate: actiontemplate,     enablecelledit: false,     sortable: false,     enablefiltering: false }; 

reference: ui-grid api


Comments