This example demonstrates several DT gallery modules; editing, selection, contextmenu, formatters and footerview.
Dbl-Click a cell to begin editing ... Right-click on a row to bring up a popup context-menu
Status:
Remarks:
This is a comprehensive demonstration of many features, please read through the source to understand all of the features.
It is configured to work with the YQL Yahoo! Finance stock quote service to get quotes and historical prices.
Note: YQL can be buggy, and return null results ... so expect that!
Also note that YQL has some throttling limits on queries so may timeout based on traffic.
Cell editing is enabled if you dbl-click a cell (that is editable) you can change a value.
The demo uses a custom Model definition that calculates the last 5 columns (via Model's getter method).
I have defined a custom date editor for the "Purch Date" column using the YUI Gallery Icello-DateChooser to demonstrate
that it is relatively simple to setup one.
The rows have a contextmenu attached, right-click to open that menu.
A popup dialog Y.Panel is available to edit a full record or add a new record.
This demo is meant for "basic demonstration" and is not intended to be used for financial analysis!
An alternate version of this sheet is located on on blunderalong.com at dt_portfolio.html, so you can play with it or modify it.