Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    i am using angular smart table
    table is displaying fine
    but search option is not working
    Fábio Carvalho

    I'm having same problem as @Muthukumars1994 , my code already is on stackoverflow: https://stackoverflow.com/questions/44375780/using-angular-track-by-index-with-pagination-filtering-and-sorting-not-work

    Someone know why search are not working ?

    This "Gerenciar.cshtml" it's my code.
    there is a bug @fcarvalllho on the smart table it cant be work
    filter and sort will work perfectely
    when in the page onLoad pagination won't work
    smart-table is better, l like use it, better than ui-grid
    Francis Rath
    Hi, I've been successfully using smart-table for some time now, but now my customer has requested to show the number of rows that match when I search with st-tables search. Is there any way to hook into this count easily?
    RENARD Laurent
    @francisrath lorenzofox3/Smart-Table#327

    @lorenzofox3 : We are currently using smart-table (yet to migrate to angular 4) and we are having some update issues related to the st-safe-src attribute.
    From the code I see that the intial implementation used a watchCollection, but this was changed to a 3 different watches: array[0], array.length & array reference. This works when adding/removing elements in a single step/action. However this breaks when adding/removing the same number of elements (for example replacing an element).

    So I was wondering why the change was done to not use watchCollection anymore (cpu cycles?)
    Our current possible solution would be (without touching smart-table):
    a) use angular.copy to solve the replace scenario.
    b) use angular.deepCopy on the first element to change its reference

    Of course it would be better if the table would use watchCollection, but since it used to have this, their might have been a valid reason for it to have been removed :)

    Tinne Jacobs
    Is there already a solution/an answer to this question: https://stackoverflow.com/questions/47387512/angular-smart-table-not-working-if-data-is-coming-from-nodeapis
    I'm also stuck with it, or something like this. Can't use an ng-repeat for the td elements, so the data won't drag with the headers.
    RENARD Laurent
    @Steenr99 it was for backward compatibility reason. You can submit a PR if you wish. It is probably not relevant anymore
    Matt Erman
    Having an issue where sort ends up reverting filtered data back to the initial data and then the filters stop working
    It works fine eith th3 filtering up until i start using sort then after a few times it breaks ans wont filter anymore
    And it also is somehow showing data that is no longer there in the data its being given
    Data is not loaded via ajax, its redolved in ui router before page load


    Is there a way to show a loader while we are using the st-search . any examples will help

    Can we insert enum values in ng2-smart-table?
    Description: I am fetching some data from the server and along with the data I want to insert one enum value as a column. Is it possible to do this in smart-table or not?
    I am new to angular tried searching for this scenario didn't find any useful links so that I am asking for some inputs.

    Hi all, I have an issue where the st-pipe function never gets called...
    My table div looks like this: <table class="table table-hover" st-pipe="callServer" st-table="displayediPharmacy" st-delay="20">
    Controller code looks like this:

    $scope.callServer = function(tableState) {


    Obviously there is a lot missing from the above example, but $scope.callServer is never called. The examples use "controller as" syntax which I don't have in my project at the now. I've looked at the docs and I can't work it out... any help would be awesome :)

    I'm using smart table to bind collection and some of my columns have empty values, so we applied column level search filters using st-search but we are unable to search through eompty column values eventhough we appended empty value with space character can anyone please help
    Anuj Mehta
    I am using smart-table 2.1.11
    I am using st-safe-src attribute to point to an array that I am dynamically updating from my controller. Unfortunately the updated values are getting reflecting on UI even though as per documentation smart-table keeps a watch on changes for "st-safe-src"
    does anyone know how natively filter null values? or someone does have an example thanks in advance
    Please check this question I asked on Stack Overflow: (this is to with st-search not working inside ngInclude)