Description Usage Arguments Value Note Examples
Basic text box with button to open calendar picker
dialog. The svalue method refers to the date, which
depends on the value of format
.
1 2 3 |
text |
optional inital date as text. |
format |
format of date. Default of Y-m-d. |
handler |
optional handler bound via
|
action |
optional value to paramaterize handler |
container |
parent container |
... |
passed along to |
width |
a pre-specified width (in pixels) for the widget |
height |
a pre-specified height (in pixels) for the widget |
ext.args |
A list of extra arguments to pass to the ExtJS constructor |
a GCalendar
instance
the svalue
method returns an instance of
Date
class by conversion through as.Date
.
1 2 3 | w <- gwindow("Calendar")
sb <- gstatusbar("Powered by gWidgetsWWW and Rook", cont=w)
a <- gcalendar(cont=w)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.