Closed falkontre closed 7 years ago
Hello @falkontre,
i used the angular 1.5.9 in this plunker and it works just fine. I suggest you look into your localstorage and watch for mistakes. Maybe you overwrite the localstorage at some point in your application
thanks @MrWook
I am using angular 1.5.9 and latest smart-table version (2.1.8).
So I'm looking for the persist feature and I came across the example in the official documentation (http://plnkr.co/edit/ekwiNt?p=preview) that uses different versions respect mine.
The example runs perfectly in plunkr but if I copy paste the example in my code the only thing that is persisted is only some filtering (not all of them work).
my table is declared like this
<table st-persist="myTable" st-table="productsColl" st-safe-src="products" class="table table-striped">
and in my angular controller the directive of st-persist is the same as the example.` .directive('stPersist', function () { return { require: '^stTable', link: function (scope, element, attr, ctrl) { var nameSpace = attr.stPersist;
`
Maybe this feature is broken by new angular version?