Mar 17, 2009, 5:42 PM
Pop up datatable bound GridPanel placed in Window at run time
Hello all,
Has anyone has done this before? If yes, please post some sample code. I need to bind a server side DataTable in code behind to a GridPanel (using a Store) and then place the GridPanel in a window. Paging of GridPanel must be enabled, auto resize of grid panel must be coded/enabled and window must be maximizeable and closeable. Grid panel must auto fit in window when window is maximized. I want to pop up this window using Window1.Show() when my user executes a search query and I fetch the result set from a database in the backend using a datatable. I also want the column model of the GridPanel to be autogenrated based on the datatable column names and data types.
Please help!
Thanks!
Has anyone has done this before? If yes, please post some sample code. I need to bind a server side DataTable in code behind to a GridPanel (using a Store) and then place the GridPanel in a window. Paging of GridPanel must be enabled, auto resize of grid panel must be coded/enabled and window must be maximizeable and closeable. Grid panel must auto fit in window when window is maximized. I want to pop up this window using Window1.Show() when my user executes a search query and I fetch the result set from a database in the backend using a datatable. I also want the column model of the GridPanel to be autogenrated based on the datatable column names and data types.
Please help!
Thanks!