Nice one! Would you be willing to send that as a pull request here?
Thanks @pjdarch & @stevevance - your combined solution is working perfectly for me. This issue has been nagging at me for a while so it was nice to finally find a fix.
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.