lightswitch05 / table-to-json

Serializes HTML tables into JSON objects.
http://lightswitch05.github.io/table-to-json/
MIT License
756 stars 172 forks source link

Ability to include hidden columns #47

Closed SRaiz closed 6 years ago

SRaiz commented 6 years ago

Hi,

Is it possible to include the hidden columns also.

lightswitch05 commented 6 years ago

@SRaiz hidden columns should already be included. See this example where the Name column is hidden, but still shows in the resulting JSON. Perhaps provide an example to demonstrate your issue

SRaiz commented 6 years ago

@lightswitch05 ...I was using tablesorter plugin to create my table. So it has an attribute "Visible" which can be set to yes or no for different columns. Then when you make the visibility as no for columns, the plugin is not able to take the data from that column. Although I have solved my issue by appending the required values in the visible fields and getting those values through JS in my function. Hence question is not invalid I believe. However thanks for the plugin...:)