View Full Version : Ext.ux.grid.TableGrid + php

7 May 2010, 6:23 AM
To get some stats from a database we've made a handy php.page with a lot of options (comboboxes,dropdowns...).
After setting up al... it creates a query and puts the output of that query in a table. Means, table has not fixed headers (depends on selected options).

Just a litle question,
- cause the table is build with the selected options, we cant setup a fixed table header layout (ext.grid uses a fixed layout).
- if we load the complete table in a var, can we use Ext.ux.grid.TableGrid to load the var and create the nice looking extjs grid?

Or maybe other possibilities?

11 May 2010, 9:08 AM
might want to post this question in the UX's thread.

18 May 2010, 1:06 AM
pff, stupid me... didnt know you can also use

{header: "<?php echo $var; ?>", width: 20, sortable: true,...

in the javascript :">
Much easier now, dont need the tablegrid.