OS3Grid Example 7 - Columns Resize

By Fabio Rotondo - fsoft (@) sourceforge ( dot ) net

Main Page
Simple Grid
Sortable Grid
Sortable Grid
Editable Grid
Custom Callbacks
Rows Selection
Column Resize
Column Renderers
Setting and Using Styles
Using OS3Grid to edit a dataset
Advanced Cell Value Manipulation
Support OS3Grid
Version 0.5 adds one of the most requested features: column resization.
To add this feature to your grid, simply set the resize_cols attribute to true before rendering the grid.
				// Enable column resize 
g.resize_cols = true;
That's all! The final result is shown below.