Limited to thead as it dosn't work with row headers