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
    Or that was what you just said, perhaps I'm thinking wrong. Do you have a live demo, plunker?
    Ghost
    @ghost~558d7c6c15522ed4b3e2dbe9
    i'm not familiar with st-set-sort, i don't see it in the docs. Is there anything you can point me towards?
    Victor Lopez
    @vlopez
    is it possible to add total row?
    Eirik Brandtzæg
    @eirikb
    @vlopez I think so, yes
    Ghost
    @ghost~558d7c6c15522ed4b3e2dbe9
    @eirikb Thanks, I wasn't aware of the st-set-sort but found it in the source code after you mentioned it. looks like that's exactly what I need. Regarding the plnkr, it looks like the result is still sorting:
    hello Hello Hfllo Hëllo
    Is this a result of my locale or does the custom sort filter still need work?
    expected: hello Hello Hëllo Hfllo
    Eirik Brandtzæg
    @eirikb
    @JeffUberman Click on Name
    I'm not sure why it doesn't kick in initially
    Ghost
    @ghost~558d7c6c15522ed4b3e2dbe9
    ah, my apologies! i didn't look at the html throughly enough
    thanks so much, this is exactly what I was looking for
    Eirik Brandtzæg
    @eirikb
    If you can fix the initial-problem :)
    @vlopez Something like this: http://plnkr.co/edit/DHG0E1L6oZR4on5KO7Wr?p=preview ? Note the search, the sum should update according to visible rows
    Ghost
    @ghost~558d7c6c15522ed4b3e2dbe9
    @eirikb Does st-set-sort have to set the sort filter for the entire table or can it be used for a single column?
    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 ?