i figure out the formatting
column names
new String[]{"#","t","x","C"}
column format
new String[]{"0.0","0.0","0.0","0.0"}

i will add this into the wiki http://www.um.es/fem/EjsWiki/Main/ElementsDataTable

i see u are exploring Ejs, great man, keep it up. ;D

/htdocs/ntnujava/ejsuser/14019/users/sgeducation/lookang/DataTableExample_pkg/DataTableExample.propertiesFull screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
Download EJS jar file(583.7kB):double click downloaded file to run it. , Download EJS source (1 times by 1 users) View EJS source