Commits

Anonymous committed 532794d

fix initial sorting order bug

  • Participants
  • Parent commits 5c5dc74

Comments (0)

Files changed (1)

 
             // Set the ascending property to sort in the opposite order.
             if (clickedCol.Tag == null)
-                clickedCol.Tag = true;
+                clickedCol.Tag = false;
             else
             {
                 clickedCol.Tag = !((bool)clickedCol.Tag);
                 }
                 else
                 {
+									
                     columnIndex = 0;
                     isAscending = true;
+                	var sortingdetails = new KeyValuePair<int, bool>(columnIndex, isAscending);
+									columnSortByListViewMap[listViewToRetriveSortInfoFor] = sortingdetails;
                 }
             }