Tablegrid is class for easy generating tables in php