This question is locked. New answers and comments are not allowed.
I have a data collection like the following
Sales
|- department
|- Date
|- sales amount
|- items (which is same as sales, which contains all sub department inside the department)
I want to create a grid, when it collapsed, the main line should show the sales of the department with total of all the sub department. When expanded, the main department should not show total instead all the child will show the total. Also I need to show the summary of all the department at the end for each department.
I am able to create a a treeview data grid but I can not create the summary row for each child row and not sure how to suppress the total when the tree is expanded. Is it possible to do it with regular grid? Any samples would be greatly appricated.
Thanks,
Sales
|- department
|- Date
|- sales amount
|- items (which is same as sales, which contains all sub department inside the department)
I want to create a grid, when it collapsed, the main line should show the sales of the department with total of all the sub department. When expanded, the main department should not show total instead all the child will show the total. Also I need to show the summary of all the department at the end for each department.
I am able to create a a treeview data grid but I can not create the summary row for each child row and not sure how to suppress the total when the tree is expanded. Is it possible to do it with regular grid? Any samples would be greatly appricated.
Thanks,