Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Pagination as an htmlwidget. Closes #20 #21

Merged
merged 1 commit into from Jan 4, 2017

Conversation

zeehio
Copy link
Contributor

@zeehio zeehio commented Jan 4, 2017

This pull requests allows to paginate an htmlTable object.

To do so, it offers a new function htmlTableWidget that takes a data frame and returns an htmlwidget with the paginated table, rendered using htmlTable.

library(htmlTable)
htmlTableWidget(iris)

imatge

The paginated table can be seen directly in the Viewer pane of RStudio and integrates well with Rmd files thanks to the dependency on htmlwidgets.

This pull request adds two additional functions htmlTableWidgetOutput and renderHtmlTableWidget to integrate the package with shiny.

This pull request closes #20

@gforge gforge merged commit ebdd214 into gforge:master Jan 4, 2017
@zeehio zeehio deleted the add_pagination branch January 4, 2017 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Table pagination
2 participants