Question: Is it possible to customize or override the logic for determining the values for sorting
- Ngôn ngữ chính
- HTML
- Star
- 435
- Fork
- 168
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Beyond setting the data-path attribute, I am having trouble finding how I can customize how the sort determines the values on the path.
I'm working on an application where decimal values are rounded for display, but still need to be sorted by the raw-decimal values. Right now we show the raw value as a tool tip which pulls the raw score from the title attribute on the same element that has the selector (by css class name) for sorting. In order to get sorting correct we have to create a hidden element with the raw value. Ideally, I could customize the logic so that it pulls from the title attribute instead of `$(elem).text()` or `$(elem).html().`
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.