tabellajs
tabellajs copied to clipboard
Feature Request
Please modify the data.rows rowHeader and rowVal to be arrays so that they can be more easily filled and/or modified/inserted/deleted.
Kind of like this:
var data = {};
data.tableHeader = [
['2014-12-14', '2014-12-20'],
['2014-12-21', '2015-1-10'],
['2015-2-1', '2015-3-7'],
['2015-3-8', '2015-3-21'],
['2015-3-22', '2015-4-7'],
['2015-4-7', '2015-4-23']
];
data.rows = [{
rowHeaders: ['<a href="#">Single bed room</a>', '<a href="#">Double bed room</a>', '<a href="#">Suite</a>'],
rowVals: [
[
[190, 210, 210, 204, 180, 160]
],
[
[190, 210, 210, 204, 180, 160],
[190, 210, 210, 204, 180, 140]
],
[
[250, 280, 280, 260, 230, 210]
]
],
rowDescs: [
['1 person B&B'],
['1 person half board', '2 people half board'],
['2 people all inclusive']
]
}