Grid Auto Width

Use enable_autowidth() to set datagrid width as the same as the current page width.

1
2
3
4
$dg = new C_DataGrid("SELECT * FROM orders", "orderNumber", "orders");
$dg->enable_edit('FORM', 'CRUD');
$dg->enable_autowidth(true);
$dg -> display();

See Live Example!

No related content found.

Tags: , ,

Top