So if 1 and 2 have the same value, then you want this value only to show on the first line, but still show two lines, right?
This is not possible in a single datagrid. Here is how you can do it:
- Create a listview or a template grid with the “Grouping attribute” in the first column
- Create a dataview in the second column.
- datasource is the selection with restriction that "Grouping attribute” = the listvalue's “Grouping attribute”-value