Renaun, Thanks for the follow up. I tried what you suggested for quite a while unfortunately there are some issues with the inheritance structure of DataGrid that make it impossible to implement this behavior without patching.
In particular the following issues with the DataGrid class make subclassing to control the layout very difficult - calcualteColumnSizes is private and not overridable (this is where the heavy lifting occurs to layout the columns) - resizeColumns is mx_internal protected which I assume means you can override but dont be suprised if this changes later :) - commitEditedItemPosition also private I also tried subclassing DataGridBase but then you cant reuse DataGridItemRenderer of DataGridColumn as they depend on DataGrid and not DataGridBase. Id be happy to send you the patched version off list if yould like to take a look. Cheers -Louis --- In [email protected], "Renaun Erickson" <[EMAIL PROTECTED]> wrote: > > You can always extend the class, make your own component and post it > on Flex Exchange on Adobe.com. > > Renaun > > --- In [email protected], "Louis Ryan" <louiscryan@> wrote: > > > > I have modified the DataGrid class to allow columns to be locked on > > the right. I posted this as an enhancement request to Adobe but its > > not so easy to include alot of text in their suggestion area so I > > didnt include the sample code I had for this. > > > > Is it OK to post modified versions of the Flex framework code here? If > > not is there a better way to send suggested code/patches to Adobe for > > review? > > > > Thanks > > > > Louis Ryan > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

