I have a table of data, where I was planning to have a click on a column header re-order the table, and double-click remove the column, but obviously by double-clicking the click event fires twice and I end up with a table sorted by a hidden column.

Can anyone suggest a way of allowing the double-click event to cancel the click event?