NOTE!
- In v2.24.0,
sortAppend
can now be applied based on the primary column sort.
- Click to sort any column header to see the the first column sort is appended to the selected sort order.
- This option is part of the original plugin
Demo
"First Name" column ascending sort appended to any other sort:
First Name | Last Name | Age | Total | Discount | Date |
Peter | Parker | 28 | $9.99 | 20% | Jan 18, 2001 9:12 AM |
John | Evans | 33 | $9.99 | 25% | Dec 10, 2002 5:14 AM |
Clark | Kent | 22 | $15.89 | 44% | Jan 12, 2003 11:14 AM |
Bruce | Almighty | 45 | $15.89 | 44% | Jan 18, 2001 9:12 AM |
Bruce | Evans | 22 | $13.19 | 11% | Jul 6, 2006 8:14 AM |
Append sorted column based on initially sorted column:
First Name (+Last) | Last Name | Age (+Total) | Total | Discount (+Date & First) | Date |
Peter | Parker | 28 | $9.99 | 20% | Jan 18, 2001 9:12 AM |
John | Evans | 33 | $9.99 | 25% | Dec 10, 2002 5:14 AM |
Clark | Kent | 22 | $15.89 | 44% | Jan 12, 2003 11:14 AM |
Bruce | Almighty | 45 | $15.89 | 44% | Jan 18, 2001 9:12 AM |
Bruce | Evans | 22 | $13.19 | 11% | Jul 6, 2006 8:14 AM |
Javascript
HTML