Googling tells about a product called dhtmlxGrid, which has the version 1.4 release one week ago. I downloaded, but the documentation sucks. Hence I wrote my own below.
The site said it is distributed in GPL. However, I found some Yahoo! produced code inside which said it is in BSD. They are not compatible, however!
But I just use it anyway, un-seriously.
The simplest case of use is as follows:
Which will show the grid on the DIV with id
grid. The height is essential because it controls how many rows to display. If not specified, only the column headers will be shown!
The column headers is essential because it counts how many columns to display. The
loadXML() function can actually pass on a very big table but only the first few columns are shown. If the headers are not specified, no columns will be displayed and hence you get a null grid.
The column width is essential as well or otherwise, width of zero is assumed and all columns overlaps.