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 add and retrieve smart table data for Google cloud firestore

I'm engaging with an angular project. I'm using visual studio code as the text editor. I used the ng2-smart-table as a table of my project as the manufacture component. But I cannot understand how add data as well as retrieve data from firebase.…
ruwan liyanage
  • 419
  • 2
  • 11
  • 24
0
votes
1 answer

what if I would like to disable a particular row from edit, but not show the edit/delete buttons in ng2 smart table

I am using ng2-smart-table in my angular6 project. How to disable edit and delete for particular rows in ng2-smart table angular6
Robot
  • 35
  • 1
  • 11
0
votes
1 answer

How to add random value function in ng2-smart-table

I have a function that creates random values but I want to know how to add this function when I create a new record in a ng2-smart-table. I'm creating users and I need to assign them a random id. This is my random id code: stringGen(len) { var…
0
votes
1 answer

How to connect fire base ng2-smart-table's create data

I have been using the ng2-smart-table template. I could not able to found the location where the data save after click the add new button.some one can help me now. In this table create data and show in the list the data what we are created. but the…
ruwan liyanage
  • 419
  • 2
  • 11
  • 24
0
votes
1 answer

Refresh ng2-smart-table

I have a Component, let us say it is called "Form", and alongside I have another component that we can call "Filing Lists". The "Form" is a "NbWindowService", "Filing Lists" is "LocalDataSource" of "ng2-smart-table". Now what I want is, after the…
Kristopher
  • 13
  • 2
  • 6
0
votes
1 answer

asynchronous filter function for ng2-smart-table

I'm working on an Angular 6 app. I have a custom component in a ng2-smart-table that displays properly. I would like to filter them. The call to the API is done asynchronously and returns a promise. The filterFunction parameter doesn't filter my…
Tibo
  • 61
  • 1
  • 6
0
votes
3 answers

How to add datepicker in the ng2-smart-datatable in filter and edit mode?

I dont know how and where to import renderComponent: SmartTableDatepickerRenderComponent and component: SmartTableDatepickerComponent startDate: { title: 'Start Time', type: 'custom', renderComponent:…
0
votes
1 answer

Conditionally add custom button in ng2-smart-table

In ng2-smart-table, I want a button 'Start' or 'End' which I am showing conditionally. How can I do this? I am having a condition If that's true, then I want to show 'Start' button and if it is false, then I want to show 'End' button. Also, I need…
Naveen Kumar
  • 2,570
  • 3
  • 20
  • 22
0
votes
1 answer

how to do autocomplete in angular 7 smart table with dynamic data?

when i'm trying to edit/create data in smart table how to auto fill the data in the cell. I tried with completer but it is showing me no results. export const dataTable = []; export const dataTablesettings ={ hideheaders: true, actions:…
0
votes
2 answers

How do I show/hide columns in ng2 smart table using checkboxes

I would like to understand how to show/hide the columns using the below code. TS File - import { Component, OnInit } from '@angular/core'; import { TableService } from './table.service'; import { Issue } from './issues'; import {…
Srinidhi S
  • 1
  • 1
  • 2
0
votes
1 answer

javascript how to make spans table header?? lib ng2-smart-table

I use a ng2-smart-table lib. And I set like this: settings = { hideSubHeader: true, pager: { perPage: 26, display: false }, actions: false, columns: { NO: { title: 'number', …
sungsoo kim
  • 13
  • 1
  • 1
  • 2
0
votes
1 answer

ng2-smart-table display list of object

Is there a way to display a list of objects in a single table cell for ng2-smart-table? I have tried creating a renderComponent but I am getting an empty value. Another question is will the filtering and sorting still work for this?
Chong We Tan
  • 233
  • 5
  • 15
0
votes
2 answers

Dependent Drop down functionality ng2-smart-table

we have used ng2-smart-table for our project and I have a request now where one of the select input list is dependent upon selection of another list. For instance, in the below example there are 2 Inputs (Country & Cities) and when User selects one…
Deepak
  • 11
  • 1
  • 2
0
votes
1 answer

How to update ng2-smart-table value on editing one of the cells?

In my application I am using akveo/ng-2-smart-table. In one of its column I use custom component with select HTML element to select an item from my data. When I select an element, I would like to update value of another cell in its row. How can I do…
svgrafov
  • 1,970
  • 4
  • 16
  • 32
0
votes
1 answer

Custom action method not working in ng2 smarttable

I am trying to add custom action "Copy" in Ng2SmartTable Grid. I am facing issue with click event handler of custom action. There are 3 buttons in grid Edit,Delete,Copy. Edit ,Delete is working fine. But 'Copy' method is not getting fired onclick…