Closed invincible1388 closed 9 years ago
Table To JSON has an option called ignoreHiddenRows
which defaults to true
. If you want to read a hidden table, then you need to turn this feature off:
var table = $('#example-table').tableToJSON({ignoreHiddenRows: false});
Here is an example of it working with a hidden table: http://plnkr.co/edit/p5lgP90gaoFt2qAcMCIb?p=preview
Please read all the options Table To JSON supports here: http://lightswitch05.github.io/table-to-json/
If the table is hidden by "display:none" property then the json value returned is null.