Questions tagged [ngx-datatable]

Use this for questions about the ngx-datatable package for Angular 2+

ngx-datatable is developed by swimlane which is an Angular component for presenting large and complex data. It has all the features you would expect from any other table but in a light package with no external dependencies. The table was designed to be extremely flexible and light; it doesn't make any assumptions about your data or how you: filter, sort or page it.

Latest version of ngx-datatable is 13.0.1

Few useful links are as follows

462 questions
0
votes
2 answers

How do I display custom formatted nested keys in swimlane ngx-datatable

I can get this to display nested data with: { prop: order.product.price } How do you do you display a custom calculation in a row? What if I want to apply a fee to the…
Justin
  • 4,203
  • 7
  • 41
  • 58
0
votes
1 answer

Hiding/showing columns based on window size

I was wondering if there was any way to make ngx-datatable columns visible/invisible based on the window size, similar to the bootstrap class hidden-xs to hide things on extra small screens.
dylan.droll
  • 108
  • 3
0
votes
1 answer

ngx datatables 'Cannot set property 'offset' of undefined' when filtering

I am trying to use ngx-datatables in my angular 2 app. I tried following the example: https://github.com/swimlane/ngx-datatable/blob/master/demo/basic/filter.component.ts I'm getting the error: "Cannot set property 'offset' of undefined" whenever I…
bobpal
  • 117
  • 1
  • 8
0
votes
2 answers

Transform Angular 2 Observable Into a non observable

I am using 6.3 of NGX Data Table which cannot bind to an observable collection. How do I transform an Angular Observable Collection into a regular non-observable Array? Here is what I have for the service: private _productUrl =…
Greg Finzer
  • 6,714
  • 21
  • 80
  • 125
-1
votes
2 answers

Is it possible to remove
tag that is showing in tooltip of ngx-data table?

I have used with tag. it is working fine, but the tooltip is showing tag. Can we remove tag in tooltip? please refer screenshot and example. enter link description here
Jhansi ravula
  • 51
  • 1
  • 10
-1
votes
1 answer

Angular ngx-datatable CSS

How to style a row in ngx-datatable component? Here is an example in component's documentation: https://swimlane.github.io/ngx-datatable/#css When I run same demo only one row has background color set. Here is my demo
user1159798
-1
votes
1 answer

Has anyone used Leaflet along with DataTables in the same UIX?

I'm working on an application which resides in a sandbox so I'm not able to create the project over here. But the issue I'm facing is that no matter what I have tried for the past couple of weeks I am not able to get the DataTable to select the rows…
edjm
  • 4,830
  • 7
  • 36
  • 65
-1
votes
1 answer

Angular Swimlane Ngx chart not working locally which works in stackblitz

I am very beginner to Angular.but though I read some of the docs and videos. I run sample application of angular, but the application which i want to run is https://stackblitz.com/edit/vertical-bar-chart .which is working fine on air but when i…
Asha Koshti
  • 2,763
  • 4
  • 22
  • 30
-1
votes
2 answers

Tooltips within ngx-datatable are partially hidden behind row borders

Tooltips within an ngx-datatable are partially hidden behind row borders. I tried changing the z-index for .tooltip-inner. But it didn't had an effect. Any ideas why, how can it be…
-2
votes
0 answers

Angular - ngx-datatable horizontal scroll problem

I'm using Angular and ngx-datable to display a dynamic list. The first two left columns are fixed and a horizontal scroll bar appears (that's what I want it to do). The problem is that when I'm scrolling to the right, the table starts to shake on…
Liraz Shaka Amir
  • 587
  • 9
  • 26
-2
votes
1 answer

Ngx-datatable cellClass

I'm trying to add a class to my cells in my ngx-datatable. columns.push({ cellTemplate: this.bodyPositionsTmpl, cellClass: 'test', headerTemplate: this.headerPositionsTpl, name: 'Employments', width:…
Kasper Sommer
  • 409
  • 1
  • 6
  • 18
-3
votes
1 answer

Export PDF from ngx datatable using angular 2

I am trying to do export pdf displayed by ngxdatable in Angular 2. How to do it?
Goutam Singha
  • 142
  • 1
  • 11
1 2 3
30
31