KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

ClientRowSpan bug with columns have "visible"=>false #3448

Open buddy opened this topic on on Jun 18 - 3 comments

buddy commented on Jun 18

There is an issue with clientRowSpan if you are using columns not set to visible. The issue arises when you are hiding columns before you declare others. If you choose to do that, the row spans that you want to generate are generated for the wrong columns because the invisible columns are not accounted for.In KRDataTables.js, function dt.handleClientRowSpan:This is only important because Kool reports uses these indices later to grab the nth child of a row when creating the row spans:rowEl.querySelector('td:nth-child(' + (colIndex + 1) + ')');Proposed fix:This fix solved it for me.

Fabio commented on Jun 18

Hey buddy,

I'm also running into the same issue. Please letting me know if you solve it.

Fabio

Sebastian Morales commented on Jun 19

buddy, thanks a lot for your detail feedback and suggesting a fix. We will incorporate your proposed fix into the next versions of Datagrid package and KoolReport Pro.

buddy commented on Jun 19

How often do you release a new version of the Datagrid package?

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
bug
suggestion

DataGrid