Mega Code Archive
Categories
/
JavaScript DHTML
/
GUI Components
Sortable Grids (table)
OS3 Grid Example 2 - Sortable Grids
OS3Grid Example 2 - Sortable Grids
By Fabio Rotondo - fsoft (@) sourceforge ( dot ) net
sort the rows by clicking on the column names: add the following line of code before the
g.render()
instruction:
g.set_sortable ( true );
a single line of code and you have sortable rows!
a single row highlighted when I move the mouse,
g.set_highlight ( true );