I recently created a TB addon which displays relative date/time but because date/time is relative TB is unable to sort it only using the string data of that particular row. Currently I'm setting sortable to False
I would like to add a sort function, but I don't know how to do it. Will it be possible for TB 115.10.0+ to sort via a custom sort function?
Provide sortCallback to your ThreadPaneColumns.addCustomColumn call. The callback should return numeric value which will be used to order rows. For further assistance, see Thunderbird forums.
I recently created a TB addon which displays relative date/time but because date/time is relative TB is unable to sort it only using the string data of that particular row. Currently I'm setting
sortable
toFalse
I would like to add a sort function, but I don't know how to do it. Will it be possible for TB 115.10.0+ to sort via a custom sort function?