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
5
votes
1 answer

AngularUI with Typeahead and Tooltip in ngTable with Custom header length undefined at scope.isOpen

I'm using Typeahead and Tooltip inside an ng-table with custom headers. This seems to work functionally, and if you look at the plunker you'd never notice an issue. But, when you run the code it generates a lot of errors which can be seen in the…
5
votes
3 answers

Angular ng-table dynamic headers doesn't work inside

I am using ng-table with dynamic columns, using the creator's example found at http://bazalt-cms.com/ng-table/example/20 It worked just fine, until i tried to wrap on a directive with transclude, witch caused the headers to disappear as seen on…
5
votes
3 answers

ng-table TypeError: Cannot set property '$data' of null

I'm using ng-table to display information from an API call which I group like the example on the website. However, the example on the website makes use of static information where as I need to make a new API call each time. When I don't include the…
thomasvdbossche
  • 107
  • 2
  • 9
5
votes
4 answers

ngTable filtering on nested fields

I've got a list of invoices in ng-table and would like to be able to filter on a nested attribute. The json looks like this; [ { id: 1, date: "20/03/2014", no: "1", client: { fullname: "ABC Catering" } } ] My…
map7
  • 5,096
  • 6
  • 65
  • 128
5
votes
3 answers

ng-table grouping - initialize with rows minimised

I am using the grouping example of ng-table from http://plnkr.co/edit/CBcbkc Right now the table is initialised with rows expanded, but I would like them to be minimised as I have over 100 records. How can I do this?
dopplesoldner
  • 8,891
  • 12
  • 44
  • 55
5
votes
1 answer

AngularJS ng-table cannot set property '$data' of null

I've just started using ng-table and I'm trying to test it through jasmine unit tests (not sure if this is the best way to test my controllers) and I keep running into this error; TypeError: Cannot set property '$data' of null at…
map7
  • 5,096
  • 6
  • 65
  • 128
4
votes
3 answers

ngTable does not sort?

I am trying to show data on html using ngTable. In html, I made all columns "sortable".
ddd
  • 4,665
  • 14
  • 69
  • 125
4
votes
0 answers

ng-table getData() function returns data but its not populating in $data object in html

I'm new to angularjs and ng-table. Using below script and html to get the data. Only problem is the $data not getting populated in html. Controller: var app = angular.module('main', ['ngTable']); app.controller('MainCtrl', function($scope, $http,…
4
votes
2 answers

How to use ng-table with webpack?

I'm trying to use ng-table in my anuglarjs application. I didn't realize that npm version is f up and new release is not there yet, however my app is in an advenced stage and I can not use bower vesion. I was trying to load latest version from git…
Eggy
  • 4,052
  • 7
  • 23
  • 39
4
votes
1 answer

Add item json in ANGULAR with pop-up

I'm doing a web app. I have a dynamic table. First, you choose a PRODUCT and then the LOT. The list of item in the select are taken by json. Now the problem is that I want to add the possibility to create new item to add in the
Leeuwtje
  • 2,161
  • 5
  • 21
  • 28
4
votes
3 answers

ngTable.reload() unable to refresh ng-table does not show new data second time

ngTable.reload() unable to refresh ng-table does not show new data second time code for index.js where i'm binding ng-table data. First time databinding working properly. second time data is not binding properly. it shows previous data. so…
Sam
  • 97
  • 1
  • 3
  • 11
4
votes
1 answer

Ng-table not calling get data

I've got implemented ng-table with an ajax call but never call the function from getdata, the function onBuscarTable is never call, I've look at the debbugger console to check it and dosen't call it: what i'm doing whrong? here's the js: …
Diego Unanue
  • 6,576
  • 8
  • 47
  • 67
4
votes
1 answer

limit the character to 10 for filter text-field - ngTable

I have created an application using angularjs and ngTable with filer feature, the application is working fine also the filtering, but the filtering text-field should accept only 10 characters according to my requirement Can anyone please tell me…
Alex Man
  • 4,746
  • 17
  • 93
  • 178