ramonj
1 Feb 2008, 11:09 AM
This is a sample I put together to show one approach you can use to send your column model and data store fields from the server side. You can get the code here (http://www.miamicoder.com/post/2008/01/Defining-ExtJS-GridPanel-columns-at-run-time.aspx). I used .NET for my server scripts, but the approach is valid for any server-side technologies.
Update
I just learned there's an extension (http://http://ux.designism.nl/ux/autogrid2/) that can greatly help handle this.
Update
I just learned there's an extension (http://http://ux.designism.nl/ux/autogrid2/) that can greatly help handle this.