Commit d97b631b authored by Jérome Perrin's avatar Jérome Perrin

configure handsontable in gadgets

parent 63ee6cbc
...@@ -79,7 +79,8 @@ ...@@ -79,7 +79,8 @@
.push(function (result_list) { .push(function (result_list) {
return result_list[1].render( return result_list[1].render(
JSON.stringify(JSON.parse(result_list[0]) JSON.stringify(JSON.parse(result_list[0])
.capacity_by_project_spreadsheet) .capacity_by_project_spreadsheet),
{minSpareRows: 1}
); );
}); });
}) })
......
...@@ -80,7 +80,8 @@ ...@@ -80,7 +80,8 @@
return result_list[1].render( return result_list[1].render(
JSON.stringify(JSON.parse(result_list[0]) JSON.stringify(JSON.parse(result_list[0])
.capacity_by_station_spreadsheet), .capacity_by_station_spreadsheet),
{minSpareCols: 1} { minSpareCols: 1,
minSpareRows: 1 }
); );
}); });
}) })
......
...@@ -77,7 +77,8 @@ ...@@ -77,7 +77,8 @@
}) })
.push(function (result_list) { .push(function (result_list) {
return result_list[1].render( return result_list[1].render(
JSON.stringify(JSON.parse(result_list[0]).shift_spreadsheet) JSON.stringify(JSON.parse(result_list[0]).shift_spreadsheet),
{ minSpareRows: 1 }
); );
}); });
}) })
......
...@@ -78,7 +78,8 @@ ...@@ -78,7 +78,8 @@
}) })
.push(function (result_list) { .push(function (result_list) {
return result_list[1].render( return result_list[1].render(
JSON.stringify(JSON.parse(result_list[0]).wip_part_spreadsheet) JSON.stringify(JSON.parse(result_list[0]).wip_part_spreadsheet),
{ minSpareRows: 1 }
); );
}); });
}) })
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment