add front ,set onclick item in table ,set align text in table