Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Eirik Brandtzæg
    @eirikb
    I think it's for the whole table, but the column is given, so you could do a normal sort based on the column
    Ghost
    @ghost~558d7c6c15522ed4b3e2dbe9
    I'm sorry I don't follow. I'm looking to locale search strings, default search anything else
    I can build that into my custom filter, but am curious if there's a better way through smart table
    Eirik Brandtzæg
    @eirikb
    It is possible to custom sort using st-sort, as you probably already know, but it won't give you ability to compare
    You could perhaps convert the string into a number, and return that number, but I'm not sure how
    Ghost
    @ghost~558d7c6c15522ed4b3e2dbe9
    hmm, okay- i'll play around with it. Thanks, again, for your help
    Eirik Brandtzæg
    @eirikb
    But you can probably pipe it to Angular orderBy (instead of the a-b on line 28)
    Ghost
    @ghost~558d7c6c15522ed4b3e2dbe9
    wow, thanks so much- looks like just what i need
    mrichardsonjr
    @mrichardsonjr
    Can Smart Table be used in Angular 2?
    Victor Lopez
    @vlopez
    @eirikb Is this the correct plnkr? http://plnkr.co/edit/DHG0E1L6oZR4on5KO7Wr?p=preview
    Ramakrishnan Sathyavageeswaran
    @ramkrishs
    Hi All, i am trying to do a filter search specific to column i found this plunker example http://plnkr.co/edit/dpmSdEaL2Xuyb1BWLbVh?p=preview but how do i perform search specific to column ?
    Eirik Brandtzæg
    @eirikb
    @vlopez Yes, but I messed it up a bit by saving it when creating another example, try this one: http://plnkr.co/edit/7OHrulwoLVj0wlM4Bx0B?p=preview
    Ramakrishnan Sathyavageeswaran
    @ramkrishs
    Is it possible to add filter specific to a column outside smart table. i am trying create a filter view outside the table so that i can apply filtered search to multiple smart table
    chandanjena
    @chandanjena
    Hi, i'm very new to using the smart table in my angular page. I followed the example given in the smart table website. However, I'm not getting table row striped (as in the documentation) even of i use class="table table-striped". I have included the smart-table.js and smart-table.min.js in my index.html page.
    chandanjena
    @chandanjena
    Another question - i'm using the st-sort for sorting the table. when I click on the header field for sorting, all my data disappear. Could you please help how i can fix it.
    Brennan Govreau
    @BrennanG
    Today I was working and everything was running fine. Then I refreshed, and I'm unable to import from "http://lorenzofox3.github.io/smart-table-website/bower_components/angular-smart-table/dist/smart-table.js" in my index file. I didn't change anything in my code or my environment. Anyone know what's going on?
    Dave(DJ)
    @davebozz_twitter
    Hi, so I'm currently paginating with smarttable. But, for some odd reason, when I try to get the length of my original scoped array(i..e, 10 < ), it will only limit my length to 10, rather than the actual array length of 16 items. I, instead have to bind the array 's length in angular to a variable and output the length that way, rather than just calling the length on the original array. Anyone know if this is just a bug with SmartTable & Angular or if I'm just doing something incorrectly?
    This occurs regardless if its outside the smart table defined div tag
    Irfan Habib
    @irfanhabib
    Hi everyone! I have a default-sort set on my smart table, when a user manually sorts by another column and unsets it, I want my smart table to go back to its default sort. Whats a good way of implementing this?
    Darren Hwang
    @dhwang
    @eirikb / @JeffUberman : Sorry about old thread comment, just want to mention that you can add st-sort-default="true" if you want to fix the "initial-problem"
    Kate Stearns
    @fabrikate

    Hey All, I'd love some help if you guys can. I am attempting to use smart table on a page that gets its data from db/api calls via services. I have a search bar filter, and select boxes for 4 other attributes. Using the st-table and st-safe-src onload the table shows nothing. However when I filter using one of the select boxes that has a boolean as its value the relevant data shows up. Any other case the data does not show up.

    Have any of you encountered something like this?

    Eskil Opdahl Nordland
    @Eskalol
    Does smart-table work in angular 1.5?
    kozi
    @William12th
    Smart-table does not support Chinese sort,Can this be improved?
    honghong
    @luohong123
    hello everyone
    why I don't open the angular-ui-grid API i use VPN
    hello hello thank you
    kozi
    @William12th
    @luohong123 罗红?哈哈
    honghong
    @luohong123
    hello ,I want to ask a question, use grid for angular ,for example,ui-grid,ng-grid,small-grid,who is best?
    Muthukumars1994
    @Muthukumars1994
    hello friends
    i am using angular smart table
    table is displaying fine
    but search option is not working
    Fábio Carvalho
    @fcarvalllho

    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.
    Muthukumars1994
    @Muthukumars1994
    there is a bug @fcarvalllho on the smart table it cant be work
    Muthukumars1994
    @Muthukumars1994
    filter and sort will work perfectely
    when in the page onLoad pagination won't work
    mister.z
    @mizhon
    smart-table is better, l like use it, better than ui-grid
    Francis Rath
    @francisrath
    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
    @lorenzofox3
    @francisrath lorenzofox3/Smart-Table#327
    Steenr99
    @Steenr99

    @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
    @xtinne
    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
    @lorenzofox3
    @Steenr99 it was for backward compatibility reason. You can submit a PR if you wish. It is probably not relevant anymore
    Matt Erman
    @CodeLiftSleep
    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