Skip to content

Commit

Permalink
Import examples into demo so users can run them.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohske committed Feb 25, 2014
1 parent 1040057 commit c0e2836
Show file tree
Hide file tree
Showing 10 changed files with 1,735 additions and 0 deletions.
9 changes: 9 additions & 0 deletions demo/00Index
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
datatables
dimple
highcharts
leaflet
morris
nvd3
polycharts
rickshaw
xcharts
36 changes: 36 additions & 0 deletions demo/datatables.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
..p. <- function() invisible(readline("\nPress <return> to continue: "))
library(rCharts)

dt <- dTable(
iris,
sPaginationType= "full_numbers"
)
dt

..p.() # ================================

dt <- dTable(
iris,
bScrollInfinite = T,
bScrollCollapse = T,
sScrollY = "200px",
width = "500px"
)
dt

..p.() # ================================

data(Orange)
dt <- dTable(
Orange,
sScrollY = "200px",
bScrollCollapse = T,
bPaginate = F,
bJQueryUI = T,
aoColumnDefs = list(
sWidth = "5%", aTargets = list(-1)
)
)
dt

..p.() # ================================
Loading

0 comments on commit c0e2836

Please sign in to comment.