DateChooser, decoupled objects make for an easy interface.Built with prototype and a new style of event architecture allows for an all around easier grid API. Continued with an incredibly easy to use implementation of a date chooser.
Superclasses and DetailsThis demonstration is built using a small package of javascript classes that use the prototypejs library.
Addressing CommentsSome very helpful comments on this article which is pleasing to see. To address Jon and Alex's concerns I have developed a new subclass of CalendarSelect that uses two select boxes to engage the user, view the Demo. To address Artemis's concerns I would suggest subclassing DateSelect and override the applyCellJSON function which is where you could implement special logic to assign more attributes to the cell for easier retrieval. Note that if you're looking to do something with a cell when it is clicked you can use the "cellclick" event, which is defined in GridBase . |
||||||
CommentsNo comments have been posted for this page.
|
||