Questions tagged [ngtable]

ngTable is an AngularJS directive that is used for simple sorting and filtering html tables.

ngTable

This directive enhances your HTML tables. It support sorting, filtering and pagination. Header row with titles and filters automatic generated.

Features provided by ngTable

  • Pagination
  • Sorting
  • Filtering
  • Cell template
  • Row template
  • Params in url
  • Ajax
  • Table with hidden pagination
  • Custom template(pagination)
  • Custom filters
  • Table with checkboxes
  • Table with grouping
  • Table with grouping with callback
  • Table with external control of data
  • Export to CSV
616 questions
8
votes
1 answer

pagination with ng-table in angular

I am using ng-table plugin to paginate a table like this: $scope.ngtableParams = new ngTableParams({}, { counts:false, getData: function(params) { return $http.get($rootScope.app.authApi +…
beNerd
  • 3,314
  • 6
  • 54
  • 92
8
votes
1 answer

Ngtable: Need explicit table header and select filter

I have a requirement to show a 5 column table data with 3 column header similar to the below screenshot (Please igonre the 1st column in table body with yellow star). Help me with couple of problems given below. When I provide explicit header…
AabinGunz
  • 12,109
  • 54
  • 146
  • 218
8
votes
3 answers

How to bind title attribute value in ng-table

I am using ng-table to display all values in a table view. Message to be displayed in remarks column (last column of the table) is huge. So, I am displaying few character. When user hovers over the cells I want to show the entire message in a…
Deepak raj
  • 269
  • 1
  • 5
  • 19
8
votes
1 answer

ngTable multi-level or nested grouping

I am using groupBy in ngTable, but now I need a further level of grouping in the table: $scope.tableParams = new ngTableParams({ count: 100, sorting: { PremiumElementGroup: 'desc', PremiumElement: 'desc', LegalEntity:…
tom redfern
  • 30,562
  • 14
  • 91
  • 126
8
votes
3 answers

ng-table sorting not working

I have created an application using ng-table, the application is working fine which had generated table using ng-table. The problem which i am facing is that the table sorting is not working. My code is as given below Working Demo html
Alex Man
  • 4,746
  • 17
  • 93
  • 178
7
votes
2 answers

Starting with AngularJS. 'NgTableParams' is not defined

I'm starting with my first AngularJS Application. I try with angular-gulp-browserify-starter, and work fine. But now I try add ngTable, but gulp build says: 'NgTableParams' is not defined. I'm trying follow these steps: http://ng-table.com/. 1- Add…
pablorsk
  • 3,861
  • 1
  • 32
  • 37
7
votes
2 answers

AngularJS ngTable filtering by Date

I'm trying to set up ngTable in my application, but it doesn't support filtering by Date, and I can't figure out how to implement it. I initially had the date in my data as a timestamp, which allowed me to sort the column properly due to the…
mtpultz
  • 17,267
  • 22
  • 122
  • 201
7
votes
2 answers

ngTable with Checkboxes not select all the check boxes on the grid

How can I select all check boxes on the grid when I click the top check box.At this moment it clicks only the current page check boxes.If you can simulate your solution on Plunk,it's highly appreciate.Thanks in advance. Here is the link : Table with…
Sampath
  • 63,341
  • 64
  • 307
  • 441
7
votes
1 answer

Dynamically defined data-title with ng-table

I am working towards using ng-table to display reports in a tabular manner. However I have run into a problem using the data-title attribute and dynamically assigning the heading. In the following example I am attempting to set the data-title…
user2882597
  • 424
  • 3
  • 11
7
votes
4 answers

How to refresh NG-Table loaded from an http request with dynamic data

I need to be able to refresh the data in my ng-table. The following images contain the full use case scenario. When a user clicks the search for BrandID, a new modal window apears: It contains an ng-table with some loaded data into it. After the…
Susy11
  • 260
  • 1
  • 3
  • 15
7
votes
4 answers

Ng-Table tableParams

I have am following the first example of ng-table (http://bazalt-cms.com/ng-table/example/1). Everything seems to work except tableParams. As soon as I include it in the controller nothing is display in the page. The difference between the example…
Tyvain
  • 2,640
  • 6
  • 36
  • 70
6
votes
4 answers

ng-Table sorting not working well

I have created an application using ng-Table, the application is working fine which had generated table using ng-Table. The problem which i am facing is that the table sorting is not working. My code is as given below HTML:
karl42
  • 69
  • 2
  • 5
6
votes
3 answers

How can I do server-side pagination with ng-table?

My code is $scope.loadQuestions = function() { $scope.questionCount = 0; $scope.questionTable = new NgTableParams({ count: [] }, { total: 19387, getData: function($defer, params) { $scope.filter.sort = params.orderBy(); …
Shamoon
  • 41,293
  • 91
  • 306
  • 570
6
votes
1 answer

ng-table multiple template filters using coffeescript

I'm using AngularJS, ng-table and coffeescript together and would like to create a multiple template filter within coffeescript and pass it into my angularjs template. I have a name & surname combined column which I would like two filters for 'name'…
map7
  • 5,096
  • 6
  • 65
  • 128
6
votes
1 answer

How to trigger export to csv for a table data from a different template in angularjs?

In a html body I have 2 templates one for header and other for template. Header template has a save and download button which is supposed to export a ngTable data to a csv file using ngTable Export, which is inside a contents.html template file, but…
AabinGunz
  • 12,109
  • 54
  • 146
  • 218
1
2
3
41 42