add show total row function cal to table show function