Skip to content

Commit

Permalink
Work for get started with tabulator
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanTsukanov committed Mar 29, 2024
1 parent 8a38e35 commit ebe697d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dashboard-table-view/knockout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@ function generateData() {
return data;
}

const surveyAnalyticsTabulator = new SurveyAnalyticsTabulator.Tabulator(
const surveyDataTable = new SurveyAnalyticsTabulator.Tabulator(
survey,
generateData()
);
surveyDataTable.showHeader = false;

document.addEventListener("DOMContentLoaded", function() {
surveyAnalyticsTabulator.render(document.getElementById("surveyResultsTable"));
surveyDataTable.render(document.getElementById("surveyDataTable"));
});

0 comments on commit ebe697d

Please sign in to comment.