dndDataGrid
The dndDataGrid component is a feature rich DataGrid component for Macromedia Flash MX 2004 Professional and Flash 8. It is extended from the Macromedia DataGrid component and inherits all of it's feature and api.
This documentation addresses the additional features of the dndDataGrid component. It does not address the properties and methods of the classes it inherits. These include the MovieClip class, UIObject class, UIComponent class, View, ScrollView, ScrollSelectList, List component, List, DataGrid, DataGridRow and DataGrid Column classes. You must read through and understand these classes to have a very pleasent experience developing with the dndDataGrid as well as all of the Macromedia UI components.
Other classes that you must read with this component are the DataProvider class, ListDataProvider class, CellRenderer API, Delegate class and the ContextMenu class. All are used in some way or another used in the dndDataGrid.
Documentation for these classes are included within the Macromedia Flash Help Panel. Documentation can also be found online at http://livedocs.macromedia.com/flash/mx2004/index.html.
To begin, read the Getting Started page. After that review the numerous examples that have been included (see below). Much time and development has gone into this component and if the help docs and examples do not contain the solution you need please ask in the forums. We would be happy to help you.
Examples:
- Populating the DataGrid with data
- Example use of a cellrenderer
- Drag from DataGrid to DataGrid
- Drag & drop to and from a movieclip
- Dynamic runtime DataGrid creation
- Using custom icons
- Using custom labels
- Using external image icons
- Restricting/permitting/denying/allowing/disallowing drag & drop to and from certain items
- Adding and removing custom menu items and menus in nested movieclips
- Drag and drop into branch/folder rows
- Examples showing how to apply or remove the DataGrid styles
- Getting Started tutorial