Skip to content
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

Group sum and columns are incorrect when ExpandRowColumn also has grid #773

Closed
cluwong opened this issue Feb 13, 2018 · 1 comment
Closed

Comments

@cluwong
Copy link

cluwong commented Feb 13, 2018

The GridView widget setting has ExpandRowColumn which also displays another GridView for some rows.

When trying to display group total, the number of columns in the group is more than that in the parent group and seems to include columns from GridView from ExpandRowColumn detail and the sum includes figures from the grids in detail.

The source for the group footer, which seems to include cols from the grids in the detail:

html

If GridView widget is removed from the detail, the group footer is correct.

I have read through the doc and can't seem to find anything to exclude the grids from detail from the group total calculation? Is this a bug or this can be done via settings but I've overlooked?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@kartik-v
Copy link
Owner

Will need to check and work on this when I get time. Its happening because the nested tables will result in rows with the same attributes and Javascript Selectors. Need to identify each grid row, column, and cell uniquely. Will try to do this later when I get time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants