tinysort('ul#xinp>li',{selector:'input',useVal:true});sort by dataSort by data attribute by setting the data option.tinysort('ul#xdta>li',{selector:'a',data:'foo'});sorted descendingSort in ascending or descending order by setting the order option to asc or desc.tinysort('ul#x...
private void sortButton_Click(object sender, RoutedEventArgs e) { ICollectionView view = GetFamilyView(); if (view.SortDescriptions.Count == 0) { view.SortDescriptions.Add( new SortDescription("Name", ListSortDirection.Ascending)); view.SortDescriptions.Add( new SortDescription("Age", ListSortD...
tinysort('ul#xinp>li',{selector:'input',useVal:true}); sort by data Sort by data attribute by setting thedataoption. tinysort('ul#xdta>li',{selector:'a',data:'foo'}); sorted descending Sort in ascending or descending order by setting theorderoption toascordesc. ...
private void sortButton_Click(object sender, RoutedEventArgs e) { ICollectionView view = GetFamilyView(); if (view.SortDescriptions.Count == 0) { view.SortDescriptions.Add( new SortDescription("Name", ListSortDirection.Ascending)); view.SortDescriptions.Add( new SortDescription("Age", ListSortD...