-
-
Save jlongster/e9d8ea3a06f8dc3438f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(js/React.createElement | |
(.-VirtualScroll js/ReactVirtualized) | |
#js {:ref (.-registerChild opts) | |
:height 100 | |
:rowsCount rowCount | |
:rowHeight 40 | |
:width 1000 | |
:overscanRowsCount 30 | |
:className "internal-table" | |
:onRowsRendered (.-onRowsRendered opts) | |
:rowRenderer | |
(fn [idx] | |
(let [trans (get data (- idx start))] | |
(row-factory | |
(om/computed | |
transactions | |
{:columns columns | |
:height 40}))))}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment