NOTE!
Set the emptyToBottom selector below:
- true - sort empty table cells to the bottom.
- false - sort empty table cells to the top.
- null - sort empty table cells as if the cell has the value equal to zero.
Demo
SetemptyToBottom option:
| Account # | First Name | Last Name | Age | Total | Discount | Diff |
|---|---|---|---|---|---|---|
| A43 | Peter | Parker | 28 | 20.3% | +3 | |
| A255 | Hood | 19.99 | 25.1% | -7 | ||
| Clark | 18 | 15.89 | 44.2% | -15 | ||
| A1 | Bruce | Almighty | 45 | 153.19 | +19 | |
| A102 | Bruce | Evans | 56 | 153.19 | 23% | |
| A109 | Larry | Stevens | 56 | 153.19 | 23% | 0 |
| A99 | John | Smithy | 56 | 156 | 22% | |
| A119 | Mike | Rowe | 55 | -53.99 | 13% | 0 |