The first public release of my Flex spreadsheet component is now available from Google Code. This component is very similar to the Flex datagrid with a few notable distinctions:
- It’s designed for extensibility, not for speed or ease of use.
- Item Renderers or Item Editors can implement a custom interface to get more information and control over the spreadsheet they’re in.
- They get more data about the spreadsheet.
- They can dispatch a variety of events to cause the spreadsheet to do things
- Editors don’t neccessarily need to be confined to the size of the
- It’s designed primarily for data-input, not data-display
- The spreadsheet can have a “placeholder” row.
- This row is created by the spreadsheet and is only inserted into the underlying data model when it’s “valid”.
- You can specify a class factory for creating these, and a custom validator class to determine when a row is or is not valid.
- Visually, it’s slightly greyed out.
- Keyboard navigation is sane
- Tabbing between cells
- Using the arrows between cells.
- Using the arrows within while editing a cell
- Hitting enter submits an entire row.
- Leaving a cell submits that cell
- Build-in support for auto completion of cells with sane keyboard navigation of the auto-complete
- Hitting escape cancels a cell-edit
- It’s not well documented.
- There are bugs
- For large data sets (300+ rows) it’s slow
- I do have several specific plans for greatly improving this, but I like to optimize last. You never know when feature changes can really affect performance.
- The partitioning feature will be completely re-written, don’t play with it yet.
- You will have questions. I don’t have time to answer them right now.
- Many of the features (like sorting) have only been implemented enough to support my current projects and are not general enough to support every need yet.
