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().
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().