This question is locked. New answers and comments are not allowed.
I'm considering using the grid for a reporting application and wonder if it can be adapted for our needs.
I have table comparable to the following (but much wider):
I want to show columns color, size, and quantity, and want to allow the user to not show the column size or color, and always show quantity as an aggregate. For example, if color, size, and quantity are the columns, the grid looks like the table above without the id column. If color and quantity are the columns, I would like to see:
If size and quantity are columns, I would like to see:
My data is coming from LINQ to SQL. In reality I have many more columns, two of which are aggregates, the rest of which I would like to allow the user to unselect, and have the aggregates update correctly (when the size column is not visible, I don't want to see two rows with red).
Is this supported with the MVC grid and LINQ to SQL? Is there a way to do this with the grid?
I have table comparable to the following (but much wider):
id color size quantity1 red small 22 red big 33 blue small 54 blue big 75 green small 11color quantityred 5blue 12green 11If size and quantity are columns, I would like to see:
size quantitysmall 18big 10My data is coming from LINQ to SQL. In reality I have many more columns, two of which are aggregates, the rest of which I would like to allow the user to unselect, and have the aggregates update correctly (when the size column is not visible, I don't want to see two rows with red).
Is this supported with the MVC grid and LINQ to SQL? Is there a way to do this with the grid?