For those of you without access to attachments, these files are temporarily available at
http://www.phlod.com/WGDataGrid.pdf http://www.phlod.com/WGDataGrid.zip Jim On 5/9/05, Jim Laing <[EMAIL PROTECTED]> wrote: > All, > > As part of developing our current application, I've been working on > customizing the datagrid's default behavior to suit our needs. I've > done this mostly through a subclass of the datagrid which we refer to > internally as WGDataGrid. While I guess I'd classify a lot of these > customizations as "hacks", I still figure it might be useful to > someone on here, if only for getting some ideas. I'd also be very > interested in getting some feedback, new ideas, and critiques. > > Attached is a copy of the relevant files, in zip format. Also attached > is a slightly outdated PDF report on some of the features added by our > WGDataGrid: since writing the report, I've got our delayed cell > renderer instantiation feature working entirely (bod/bhaq1972, is this > what you're looking to do with your combo box cell editor?) and added > features for handling primary keys (one should only be able to edit a > primary key field if the row is a new record or else the persistence > layer gets confused) Also, some of the ideas implemented come from > Flexcoders: Manish's dragable/reorderable columns are copied verbatim, > and I think the idea of using restrict and maxChars on the TextInput > cellEditor originally came from here, although it was implemented > differently. > > NOTE: not included in this zip file is any type of runnable, > standalone application. You probably can't just drop these files into > anywhere either, as there are probably some unresolved dependencies > with code not included. These files are offered without any warranty, > expressed or implied ... etc. etc. It's also quite certain that none > of this code will work with Flex 2.0 (as I hear the DataGrid is > undergoing major review), but hopefully less of it will be needed too > ... > > If you have the time, let me know what you think! And feel free to > contact me with any questions ... > > Jim Laing > Software Developer > Washington Group International > > > Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> 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/

