knockout-orderable icon indicating copy to clipboard operation
knockout-orderable copied to clipboard

List from ko.computed breaks the sorting

Open acostaf opened this issue 12 years ago • 3 comments

HI

When using ko.computed which returns dependentObservable breaks the whole functionality

acostaf avatar Jul 03 '13 15:07 acostaf

Seems to work? http://jsfiddle.net/dentarg/bqJZC/3/

dentarg avatar Jul 10 '13 11:07 dentarg

uhh not really what I meant, you need to collections, the first one with people and the second with filtered people the UI and the orderable will be bound to filteredPeople

acostaf avatar Jul 10 '13 12:07 acostaf

I'm also having problems with this. I want to be able to filter the observableArray as well as sort it. Hopefully this fiddle will illustrate the problem:

http://jsfiddle.net/Lc5Fa/1/

tjrobinson avatar Jul 02 '14 10:07 tjrobinson