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

ng2 smart table check boxes not persistent across all pages

I'm new to ng2-smart-tables. I'm trying modify the example below from the GitHub page so that the check boxes don't disappear when moving from page to page. import { Component } from '@angular/core'; @Component({ selector:…
Sanjeev
  • 1,517
  • 1
  • 18
  • 30
14
votes
10 answers

ng2-smart-table has missing dependencies completer

I am using Ng2SmartTable and I have this error: ERROR in The target entry-point "ng2-smart-table" has missing dependencies: - @ akveo / ng2-completer I have already tried the following commands and it does not work: 1.npm install --save…
NicoGuevaraAtuq
  • 502
  • 2
  • 5
  • 17
12
votes
6 answers

ng2-smart-table with paging from back-end (Spring)

I am using a back-end server (Java Spring) that has Pager enabled. I am loading 100 records per page on a HTTP call. On angular2 service, it is consuming the API call with "?page=1&size=100" as the initial call whereas on the client size pager, it…
Sovan Misra
  • 591
  • 2
  • 5
  • 13
11
votes
3 answers

How to select multiple rows in ng2-smart-table component with checkbox?

I am using ng2-smart-table from https://akveo.github.io/ng2-smart-table/#/documentation Live Demo: http://akveo.com/ngx-admin/pages/tables/smart-table Please help me with below questions: I want to select multiple rows and call one function so…
Swapnil G Thaware
  • 799
  • 3
  • 6
  • 19
11
votes
6 answers

Add custom action button - ng2-smart-table

I'm trying to add a button to custom action, but a new column is not added in the action, making the button overlap with the others. Code: settings = { actions: { custom: [ { name: 'Button', title: 'Button ', …
Leticia Fatima
  • 512
  • 2
  • 4
  • 19
8
votes
2 answers

How to set multiple selection in dropdown in ng2-smart-table?

In my app, I have load dynamic values in dropdown list of ng2-smart-table. Now I have to enable multiple selection in dropdown in ng2-smart-table. Note: Multiple selection in dropdown not for checkbox.
khushboo
  • 715
  • 2
  • 11
  • 24
6
votes
2 answers

Creating server side pagination with ng2-smart-table in Angular 6

I am trying to use the component . I actually did it, but I need to refresh the data after the user click in a page or in a column for sorting, is there any way to capture those events and refresh the…
Dayán Ruiz
  • 611
  • 1
  • 9
  • 22
6
votes
1 answer

Trying to fork a node module ng2-smart-table

Development for ng2-smart-table has stalled and I am trying to build a fork for the repository but it appears to not build. I've done similar stuff before and normally just create a fork of a repository. put in my changes and then modify…
Tommie Jones
  • 957
  • 1
  • 16
  • 37
6
votes
2 answers

Angular2 ng2-smart-table sorting

In ng2-smart-table of angular 2 sorting functionality is case sensitive. Are there any options to make sorting table data as case insensitive?
Revathi Sekar
  • 107
  • 1
  • 11
5
votes
1 answer

How to manually force a rerender of a component in Angular2?

I am using ng Smarttable and change the datasource array via an event (the change is an id change of a value inside the array). The problem is that angular doesnt detect the changes and nothing happens UNTIL i hover over the page or click…
Loading
  • 1,098
  • 1
  • 12
  • 25
5
votes
3 answers

How to update placeholder text in ng2-smart-table?

I'm using ng2-smart-table for display data in angular 6 app. I have enable filter feature. Now I want to set default search as a text in all columns placeholder. I have searched a lot. But I'm not able to change placeholder of…
khushboo
  • 715
  • 2
  • 11
  • 24
5
votes
4 answers

Angular 5 + ng2-smart-table: Hide/disable actions column conditionally

I have a table built by ng2-smart-table, data in the table has two states as Draft and Ready. When data.status = 'Draft', it's possible to show actions column for CRUD purpose, but then the state changes to data.status = 'Ready', I want to disabled…
Hoàng Nguyễn
  • 1,121
  • 3
  • 33
  • 57
5
votes
1 answer

Display Nested Object with Ng2 Smart Table using AngularFire and Firestore

Above Is my Data Structure in Firebase's Firestore db. I can successfully pull data and put it into the ng2 smart table using these settings: export const userTableSettings = { delete: { confirmDelete: true, deleteButtonContent: '
bjwhip
  • 407
  • 1
  • 9
  • 18
5
votes
1 answer

ng2-smart-table : how to use css?

anyone can help me how to use CSS to the ng2-smart-table compoment? I wuold like to customize pagination , title, thead, tbody thanks in advance Andrea
Gelso77
  • 1,763
  • 6
  • 30
  • 47
5
votes
2 answers

disable cell when user click on 'add new' in ng2-smart-table

My settings are as given below. when I click on the 'add new' link the ID cell is editable. We want to make that field uneditable. mySettings = { columns: { id: { title: 'ID', editable: false, }, …
user2894466
  • 137
  • 1
  • 10
1
2 3
16 17