I've also needed to do this.
The datagrid's "columns" property is really just an array of datagridcolumn objects i think. You can create two different arrays and make a button switch between them to see how it can change the datagrid. (Same data, just different columns.)

So I was going to try to make a function that gets the results for the datagrid's data provider and also asks the server for what columns should be displayed, their width, order and such from some user preference system. 

But I haven't had a chance to fully work it out yet.

HTH
Marky


On Oct 30, 2006, at 6:41 AM, Paul Hastings wrote:

On 10/28/06, dzeitman <[EMAIL PROTECTED]> wrote:
> If all you want to do is organize the column order you can manually
> set up columns in the appropriate order.

thanks but i need this "on the fly" (and i don't don't know what's
getting sent back from the server per remote call). the trick is to
use the datagrid's columns property to reorder the columns to their
"natural" order.


__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to