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
284
votes
11 answers

Best way to represent a Grid or Table in AngularJS with Bootstrap 3?

I am creating an App with AngularJS and Bootstrap 3. I want to show a table/grid with thousands of rows. What is the best available control for AngularJS & Bootstrap with features like Sorting, Searching, Pagination etc.
12
votes
3 answers

Smart-Table "st-sort" not working

I'm using angular v1.3.15. I'm fetching data by hitting an api and passing it through the scope to the smart table like so Here is the data format of the 'scope.rowCollection' as seen on the console Data populates fine but When i'm trying to click…
Nikhil Nanjappa
  • 6,454
  • 3
  • 28
  • 44
10
votes
1 answer

How to implement custom search with smart-table and angularjs

Is there a way to search a date field with smart-table? I need to filter for dates later then a given date.
user2543492
  • 105
  • 1
  • 1
  • 5
9
votes
2 answers

Edit and create with ng2-smart-table

I am trying to use . The issue is that I don't know how to bind the plus button (addButtonContent) with some create function data. Now this just opens for me anther row to insert the data. Also how can I do it for the edit…
Vitaly Menchikovsky
  • 7,684
  • 17
  • 57
  • 89
9
votes
2 answers

How to edit contents in Angular js Smart Table

I am quite new to java script, so I must apologise if this seems basic. How can I edit rows tables in Smart-Table with Angularjs? There doesn't seem to be a tutorial with the new Smart-Table. I would like to create a simple form for users to enter…
user2557625
  • 221
  • 1
  • 2
  • 9
8
votes
2 answers

Unable to select the grid item using SmartTable in Angular JS

I have implemented grid using SmartTable in Angular JS. According to Smart Table docs, for selecting the grid item, we need to add st-select-row="row". I added this one too. But i am unable to select the grid. Implemented app can be seen in plunk…
Ranga Reddy
  • 2,936
  • 4
  • 29
  • 41
7
votes
3 answers

How to get checkboxes to initialize based on model?

I am writing my first non-tutorial angular.js web app. I am using two smart-tables and checklist-model. Here is the first one that uses a st-safe-src of all_types that is an array of json objects that look like this ... [ { "_id":…
Red Cricket
  • 9,762
  • 21
  • 81
  • 166
7
votes
0 answers

AngularJs Smart Table Pagination - Always Resets to First Page

For some reason, my pagination is always resetting to 1 as the selected page, even though the result comes back from the server with the proper data in the results EG Records 31 - 45) and populate properly in the smart table. What could cause it to…
Eddy
  • 145
  • 14
7
votes
3 answers

How can I sort items by date in smart-table

How can I sort data by date in smart-table? With st-sort it isn't so good.
Václav Pavlíček
  • 419
  • 2
  • 9
  • 21
7
votes
2 answers

smart-table - how to reset filter collection?

New to Angular and smart-table.. This smart-table setup works and filters correctly, but trying to reset or clear the filters doesn't re-filter the table. Why not? Does updating an input with ng-model binding not trigger a watch that smart-table is…
R Schneider
  • 91
  • 1
  • 3
7
votes
1 answer

Smart Tables Pagination Wont Work With Server Side Filtering

I have a smart table that I am working on in AngularJS. The table uses a custom pipe in order to search and sort its data. I also require that the table has working pagination, along with a drop down box so you can select the number of rows to be…
MediaGiantDesign
  • 620
  • 9
  • 24
6
votes
1 answer

angularjs smart table st-safe-src attribute

I have gone through this link http://lorenzofox3.github.io/smart-table-website/. But i have not got the use case of "st-safe-src". when we need to use this attribute.
user2428697
  • 141
  • 1
  • 1
  • 6
6
votes
1 answer

Smart-table - Setting page from code

I'm using the very good table library Smart-table to display my data. I am using a custom pagination template. I would however like to be able to set page 1 from the code. I have read up on the st-pipe directive it exposes, but it seems that I…
dandanknight
  • 659
  • 5
  • 21
5
votes
2 answers

Angularjs Smart table not working for Dynamic data

I have a situation where i am using angularJs smart table for filtering. html:
ID…
Yasmeen
  • 801
  • 1
  • 7
  • 20
5
votes
0 answers

Update row in angular-smart-table

In my app i list users in a table via angular smart table. Now i would like to update a record once i modified it. I can't find any function with which i can change the user in my rowCollection so my list view reflects those changes directly. This…
Chalkin
  • 231
  • 5
  • 10
1
2 3
21 22