meetselva / fixed-table-rows-cols

Fixed Table Header and Columns
http://meetselva.github.com/fixed-table-rows-cols/
Other
77 stars 42 forks source link

How avoid mixed column when using inner table? #41

Open codevite opened 7 years ago

codevite commented 7 years ago

I need to have an inner table inside the Master table. (Multi Level details) But the Header of the childs are added to Master table. And If I define a fixed column alse take the column of childs.

How can I avoid this effect? innererror

Great plugin!

scafuz commented 7 years ago

had the same issue, i've a patch that wiill submit that fixes the problem.

scafuz commented 7 years ago

couldn't upload a patch, try the uploaded one. basically the problem is that fixed row and columns are taken using a .find() method, but if you have more than one table you end up finding too much elements; using .children() instead fixedmost of the problems. I also commented out all jquery-ui specific css as they broke most of the layouts.

nested-table.diff.zip

jscho13 commented 5 years ago

Works for me as well. Is it possible you could fork this solution and make a PR?