Can I create a "Two-Variable Data Table" (aka "Two-Way Data Table") in JavaScript?
In Excel, of course, this can be found in the Data, What-If Analysis, Data Table menu sequence.
Can I create a "Two-Variable Data Table" (aka "Two-Way Data Table") in JavaScript?
In Excel, of course, this can be found in the Data, What-If Analysis, Data Table menu sequence.
Copyright © 2021 Jogjafile Inc.
SpreadJS's team has implemented a dataTable function that is used to create the two-way-table:
function dataTable(sheet, columnRange, rowRange, colInputCell, rowInputCell, formulaCell)
Here is the entire dataTable function:
Here is an example of how you would create the data table using this function:
I am a member of GrapeCity's Technical Engagement team.