Questions tagged [ng2-smart-table]

ng2-smart-table is smart table used in web development API

ng-smart-table is a smart table used in web development API like Angular 2+. It is simple to use. It performs CRUD operations easily with provided back-end support. It can sort data quickly. Table contains actions like Insert, Edit, Delete. Further documentation can be found on ng-smart-table

253 questions
0
votes
1 answer

How to do calculation in ng2-smart-table(angular2)

https://i.stack.imgur.com/JIGKp.pngi need to find the amount and subtotal. i need to calculate (qty*price)two columns values and store the result into another column(amount) of the ng2-smart-table
0
votes
1 answer

ng2 smart table custom,renderComponent

I am new to Angular.I am using ng2-smart-table in my Project.in renderComponent Option of columns.Can i use parent Component in one Module and Child Component in another Module.
kumar
  • 71
  • 1
  • 12
0
votes
0 answers

Binding Event on the Pagination of Table

I am using this package https://github.com/akveo/ng2-smart-table The data is loaded from the server using the API, I have around 100k records to be shown in the database, that's why I need to dynamically load the data from the server based upon the…
Atif Javed
  • 123
  • 1
  • 2
  • 8
0
votes
1 answer

after deleting data from firebase it is still showing in table in angula 4

I am working on angular 4 project I am using smart table in it. for database I am using firebase. I have write an function for deleting the row data it is deleting from the firebase but other data is showing two times (duplicate). following is the…
0
votes
1 answer

duplicate display of new data in smart table in angular 4

I am working on angular project when I am adding new row in table I am getting proper data in my service but in table it is showing 2 times. Above is my smart table code.
Faisal Amdani
  • 109
  • 14
0
votes
1 answer

How to get edited data of smart table in angular 4

I am working on angular project I am using smart table. I have my .html as given the…
Faisal Amdani
  • 109
  • 14
0
votes
1 answer

How to set ng2-smart-table button class

I would like to set the button class of the add/delete/edit buttons of my ng2-smart-table to 'btn btn-sm btn-warning'. How can I do that?
Gurkenkönig
  • 678
  • 15
  • 36
0
votes
1 answer

ng2-smartTable add form doesn't close when we cancel the windows confirmation popup

i got an issue in my smart table when i try the add button inside it, the form stay even after a event.confirm.reject(); see picture bellow: the form, i'm talking about is framed into a red rectangle here is my…
Flow
  • 550
  • 1
  • 4
  • 12
0
votes
1 answer

ng2-smart-table subscribe edit

I want to manage the edit function of my ng2-smart-table but this code does not work for me, I have something wrong? HTML
0
votes
2 answers

Pagination for dynamic data (API) in ng2 smart table

columns: { Name: { title: 'Name', filter: false, }, Description: { title: 'Description', filter: false, }, }, add: { addButtonContent: '', createButtonContent: '
0
votes
1 answer

local json file and ng2-smart-table

How to load the local json file and display data in ng2-smart-table? This is my current code for retrieve the data from the local json file: public getList() { return this.http.get('./assets/data/line-items.json') .toPromise() …
Jim
  • 91
  • 2
  • 12
0
votes
1 answer

fire edit/delete actions on custom column ng2-smart-table

I have added a column with custom renderer like this, settings = { actions: false, columns: { operation:{ title:"operation", type: 'custom', renderComponent: CustomActionRenderComponent, } } and now it…
0
votes
0 answers

Wrong component styles in angular when bundling in production with webpack

I am developing a web-app using angular, third-party components and webpack. When i am bundling everything in production mode, some components seems to not apply in a right way the styles that they have in development mode. For example: ngx-chips…
0
votes
1 answer

Ng2-smart-table: is possible to pass data rows without keys?

I want to pass to my data table some values as rows, like the following: ["ab", "b", "c"]. So, my json is just an array that doesn't have any keys, just a value. I know that we need to have a keys for each element that is the same of the column, but…
Jamil89
  • 165
  • 3
  • 14
0
votes
0 answers

Using skip and take for data in angular 2 and showing data as it comes

I am trying to show data as it comes in from the API. What I am doing is: var qstring = ['http://localhost:57398/api/values/passdata?query=select * from t1 order by id offset 0 rows fetch next 1000 rows only',…
1 2 3
16
17