Good morning,
As you can see in the attached file I've used a RadGridView Control to show some sales.
With my program I can sell two items, then close partially the sales and then insert a new product e close the sales partially or definitively.
I've made this by create an object who refer to my model (my db model) and add to it a variable "Type" (who tells me wath kind of row is).
For the details (see the White row) I read my data db and set the "Type" at 0, for the Yellow and Green row I'm not read the data from db but with an internal foreach with variuous Group by I can know when a Row is a subtotal or a total and for these last 2 condition I set the type at 1 or 2, then with styles and datatrigger I color the lines.
This works, but if I use filter or the search control I lost the total and subtotal row.
How can I avoid it?