You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert

8
9
<!-- badges: end -->
9
10
11
+
`reactable.extras` is an R package that enhances the functionality of the [reactable](https://glin.github.io/reactable/) package in Shiny applications. Reactable tables are interactive customizable, and `reactable.extras` extend their capabilities, allowing you to create dynamic and interactive data tables with ease.
12
+
13
+
In the context of web apps, you often need to provide users with additional tools and interactivity for data exploration. `reactable.extras` address this need by offering a set of functions and components that can be seamlessly integrated into your Shiny apps.
Rendering a `reactable` with a lot of data can be inefficient. The initial loading will take some time, and a lot of memory will be thrown to the browser.
31
+
Getting started with `reactable.extras` is straightforward:
23
32
24
-
A more efficient approach is to render only the data that is needed to be displayed.
25
-
26
-
`reactable_extras_ui()` and `reactalbe_extras_server()` is a wrapper for `reactable::reactableOutput()` and `reactable::renderReactable({reactable(...)})`.
27
-
It renders only a subset of a large data in the server memory. This almost instantly renders the desired page and keeps the amount of memory used in the browser minimal.
28
-
29
-
Consider this example data:
33
+
1. Make sure you have latest version of `{reactable}`. It's required to be at least on version 0.4.0
34
+
2. Include the necessary functions and components in your Shiny UI definition.
35
+
3. Use the provided functions to enhance your reactable tables. You can add custom buttons, checkboxes, date pickers, dropdowns, and text inputs to your table cells.
36
+
4. Customize the behavior and appearance of these input components based on your application's requirements.
37
+
5. Implement server-side processing and pagination controls for large datasets.
And compare the difference in initial load time and amount of memory used in the browser when loading all the data at once vs loading only the data needed for the page.
0 commit comments