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
2
votes
3 answers

Pagination issue with ng2-smart-table

I'm using the ng2-smart-table in an Angular 2 app and I have a problem with the pagination in it. I'm loading a data object array and it shows correctly the first five (I have 20 in total) but the pagination at the bottom of the table shows << >>…
Crisiiii
  • 409
  • 7
  • 22
1
vote
0 answers

How to add CSS class to ng2-smart-table ?

How do you add a CSS class to an ng2-smart-table for particular column? How can I do that? I have tried…
Manish
  • 11
  • 2
1
vote
0 answers

How to get data from specific row in table ng2 smart table

I'm working on ngx-admin in ng2 smart table I added a custom button that open model I want to pass data where the button exist this is table settings settings = { actions: { add: false, }, add: { addButtonContent: '
Fredrick
  • 37
  • 3
1
vote
0 answers

Cannot select row programmatically inside a modal in ng2 smart table Angular

I have an ng2 smart table in my parent component and from this table i open a modal in which i display a second ng2 smart table So on the second table the row should be programmatically selected using this code, let selectedElement: Element = …
1
vote
1 answer

date in ng2-smart-table is not displaying

I'm trying to add and display my data using smart table using angular 10 one of the table columns is the date I installed mydatepicker I made a component called calendar here's calendar.ts import { Component, Input, OnInit } from…
derpinette
  • 41
  • 5
1
vote
1 answer

How to display ng2 -smart table row data in other page after click on the specific row

I want to display the smart table row data on another page. So whenever the user clicks on the row data its routes to the new page with this particular row data. Please help on this, I am stuck ThanksThis is mytable in advanced
1
vote
0 answers

navigate back to a specific page in a paged ng2-smart-table after navigating away via a link in a cell

Does anyone have a decent way to track the current page, filters, etc of an ng2-smart-table in Angular 7, so that if the user clicks a cell that is a nav-link to a "more details" page, so that when the browser "back" button is subsequently used,…
1
vote
0 answers

How to save/restore user search on ng2-smart-table columns if user navigates to a view and then it is returning to the table view?

How I can save/restore the user search on ng2-smart-table columns if the user navigates to a view and then it is returning back to the table view (route navigation)? Do you have any ideas? Thank you
mihaij
  • 95
  • 2
  • 7
1
vote
0 answers

Using tinymce editor inside ng2-smart-table in Angular app?

I want to use tinymce with ng2 smart table in angular app, but struggling to find a way to get data from tinymce to my main component: about.component.html : Supply
jodoro
  • 67
  • 2
  • 8
1
vote
0 answers

how to get changes of ng2-smart-table event from user input not on setFilter, setPaging, setSort

I am using Akveo's ng2 smart table in my angular project. I have done the following, source: LocalDataSource = new LocalDataSource(); this.source.onChanged().subscribe((changes) => { //Trigering while user input in filter or paging or sorting …
Udhayakumar
  • 357
  • 5
  • 19
1
vote
1 answer

ng2 smart table server side pagination

I am using ng2 smart table. I want to implement server side pagination for ng2 smart table. I haven't found any specific references. I am using springboot for backend and angular for front end.
1
vote
0 answers

ng2-smart-table column style change

I am trying to change the background-color of a particular column in ng2-smart-table. Please guide me on achieve this. css ng2-smart-table tr td:first-child { background-color: #blue; }
rja
  • 169
  • 2
  • 14
1
vote
0 answers

dynamic expanding row ng2-smart-table Angular

i'm trying to expand rows when clicking on a button , I found this example: https://stackblitz.com/edit/dynamically-row-components-for-smart-table-cw7q9y but when enabling actions (comment: actions:false in settings): //actions:false, this makes…
hous
  • 92
  • 1
  • 11
1
vote
0 answers

ERROR in Node does not exist: C:/projects/ma/CustomerPortal-master/node_modules/ngx-smart-table

error attached getting above error on npm start or ng build
Mahesh T.
  • 61
  • 5
1
vote
0 answers

Ng2 Smart Table set selected item in filter list

I'm using ng2-smart-table and I want my 'status' column to select a specific item in the filter list. Normally the selectText is selected as it is the first option but i want 'Test2' to be selected, is this possible? status: { title: 'Status', …
Jenaf710
  • 11
  • 1