Skip to content

Commit

Permalink
Convert data
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Kuethe committed Sep 20, 2024
1 parent 9f953da commit a6dcc68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions r-bindings/rtabulator.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
function tabulatorFactory(widgetElement, width, height) {
let table = null;
function renderValue(payload) {
payload.data = HTMLWidgets.dataframeToD3(payload.data);
console.log(payload);
if (payload.options === null) {
payload.options = {};
Expand Down
1 change: 1 addition & 0 deletions srcjs/index-r.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ function tabulatorFactory(widgetElement, width, height) {
let table = null;

function renderValue(payload) {
payload.data = HTMLWidgets.dataframeToD3(payload.data);
console.log(payload);
if (payload.options === null) {
payload.options = {};
Expand Down

0 comments on commit a6dcc68

Please sign in to comment.