Questions tagged [smart-table]

Table modules by Renard Laurent (lorenzofox3) for AngularJS, Angular, React, Preact, Vue.js, Flaco, and Vanilla JS. Use this tag together with the respective framework / library tag. This tag is NOT related to "smart table" from SAPUI5.

An easy to use Table / Grid module for a limited set of frameworks. It is meant to be easily configurable but also easily customizable.

Public GitHub repos:

327 questions
4
votes
1 answer

AngularJS Smart Table Filtering By External Control

I am trying to figure out the correct way to incorporate st-table, st-safe-src, and filtering of the data by a control that lives outside of the table itself. Users can add, edit, and delete data so this is why i am using the safe source. any…
Marco
  • 2,453
  • 3
  • 25
  • 35
4
votes
1 answer

How to show empty text in smart-table when data is empty

I am using smart table in my application. The smart-table is configured with static headers and pagination bar. The data is loaded via async request. When the data received is empty the smart-table is shown with headers and pagination-bar. I want to…
Vivek
  • 11,938
  • 19
  • 92
  • 127
4
votes
0 answers

SmartTable Draggable columns

I am looking for a way to make draggable columns within SmartTable. I basically need to reorder entire columns in my table. I came across lrDragNDrop, however I found it doesn't work in FireFox. I need something that supports both Chrome and…
user2827707
  • 437
  • 2
  • 7
  • 16
4
votes
2 answers

Filter by multiple boolean properties in angular js smart-table

I have the following situation: A list of indicators, each of them having the properties name, description, essential and differential. $scope.indicators = [ { name: 'indicator1' , description: 'blah1', essential: true, differential: false }, {…
tcand
  • 43
  • 1
  • 3
3
votes
2 answers

SAP Runtime error when showing Multiple parents of an entity using CDS hierarchy in the SAPUI5 Tree table

I'm using CDS parent child hierarchy to get multiple parents of an entity. There is no problem with the data that has a single parent. But when I try to display the data that has multiple parents, it's dumping. There is no dump when I get the…
BalajiB
  • 326
  • 6
  • 29
3
votes
1 answer

Angular - Smart table won't fill

My Smart table won't fill using HttpClient to send a get request to get json data. this.http.get('http://localhost:56591/api/db/get').subscribe((data) => { return data; }); This returns: [ …
Bm8
  • 33
  • 3
3
votes
0 answers

smart-table slow performance while displaying large data set

Im trying to display large data set using smart-table. Im contacting server with $http request and when I assign response data to $scope.rowCollection, application stuck for nearly 40 second until all data is displayed on page. In response json i…
3
votes
2 answers

How can i make some of the table rows not selectable in SmartTable angularjs

I am using angularJS and smart table framework to manage my table in html: The table rows are selectable using SmartTable attribute : st-select-row="row". after user selects rows and click "add" button the selected data registered to some other…
Panteleev Dima
  • 175
  • 2
  • 18
3
votes
1 answer

Using nested ng-repeat with object arrays angular

Here is what I am trying to do: {{data[key]}} This DID work when the tabular Data was structured like this:…
Kenta Goto
  • 305
  • 3
  • 18
3
votes
2 answers

Is Smart Table compatible with Angular 2.0?

I was looking at the documentation for Smart Table (https://lorenzofox3.github.io/smart-table-website/) and all the examples seem to use Angular 1.0. I was wondering if Smart Table can be used with Angular 2.0? (Note that I found another product…
user64141
  • 5,141
  • 4
  • 37
  • 34
3
votes
5 answers

ng2-smart-table create button not working correctly

I am getting data from firebase and displaying it with ng2-smart-table. However, the add dialog doesn't close after I add the data. It's still opened with the values that were added. Here's my code: settings = { pager:{perPage:50}, add: { …
Vitaly Menchikovsky
  • 7,684
  • 17
  • 57
  • 89
3
votes
1 answer

AngularJS Smart Table filtering special characters with a space when displaying all rows

I am running a few tables that use the pipe/ajax section of the code with the controller/service setup. https://lorenzofox3.github.io/smart-table-website/#section-pipe One of the issues I am coming across is when there are special characters in the…
Robert Lee
  • 1,541
  • 1
  • 10
  • 20
3
votes
1 answer

ng2-smart-table is compatible with SystemJS

I'm trying to import this module via systemjs with this configuration: map = { 'ng2-smart-table': 'js/node_modules/ng2-smart-table' }; packages = { 'ng2-smart-table': {main: 'build/ng2-smart-table.js',defaultJSExtension: 'js'} }; And I'm…
3
votes
3 answers

Angular Smart table filter state save dropdown doesn't restore properly

I have followed the instructions in the documentation regarding persisting the filter state. (http://plnkr.co/edit/ekwiNt?p=preview) When re-loading the page, the table state (including filters) is restored, however the