Current title parser return just "title" attribute:
convert: function(){
return this.title;
}
But what if I have number or date type stored in attribute? There is no way to achieve sensible sorting.
My proposition:
- title should not be the "parser" because it does not parse anything.
- add "getter" parameter to sortable width default behavior:
As a parameter one could pass:
- function - which return proper value
- string - in this case function returning this attribute will be created
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.