forked from Knockout-Contrib/KoGrid
-
Notifications
You must be signed in to change notification settings - Fork 18
Column Sorting and Filtering
timothyswt edited this page Dec 8, 2012
·
2 revisions
One of the smaller, but key features of KoGrid is its filtering and sorting abilities. KoGrid uses quite a bit of logic to correctly determine how to sort and filter your data.
Think about how difficult it would be to sort Dates and strings that represent dates... KoGrid does this all nicely for you!
Some have asked about the filtering logic that KoGrid uses. Currently (as of updates on 12/07/2012) KoGrid uses the following:
- "Contains" logic
- if you type "S", the column will filter down to only items that contain an "S" in the row entity.
- Column Logic
- if you type "Column Name : SearchValue" it will filter down the results where the column contains the search string.