-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First row missing? #6
Comments
Hi, @ruiwei. Can I check your sample data? |
Data is standard JSON object. The first row of JSON always missing. By the way, I do not use Table for display but only for Print. Google Chrome seems ignore "" on "@media print". |
+1 on this—seeing the same behavior. I'll see if I can sort it out |
The bug is here, https://github.com/jongha/jquery-jsontotable/blob/master/src/jquery.jsontotable.js#L123 I'm not sure what was originally intended here, but it needs to be solved another way.
just set
I haven't looked at the rest of this code long enough to know why you really need that offset in the case that |
Thank you for your valuable opinion. I'm late with my reply because I have been too busy with work recently. I'm sorry. I have checked what you addressed and have fully understood the problem. I agree with you and will try solving this issue as soon as I'm available. Thank you. |
+1 from me.. |
Apply fix for missing first row of every table if headers:true Per jongha#6
+1 |
@bartekbrak this solves the problem |
The first row always missing.
Looks like the first row has been used for "Header" if "header: true".
The text was updated successfully, but these errors were encountered: