Hi. I want to display a gridview almost identical to the way it's displayed in the demo. I've spent hours trying to compare files but I still can't get the same behaviour.
I do have a couple of changes that I want.
There's only 3 columns in the datasource. CreationDate (datetime a record was created), ResultString (a string displaying a pass fail result), and a calculated column Date, which is the field I want to group on, which is just the date portion of CreationDate.
1) I want the grid to be set up grouped on the Date column automatically, as you've done with the City column in the demo. But I don't want the user to see the Grouping bar, or the Date column in the grid as it's only there for grouping purposes.
2) I can't see how the demo app gets the "City" button in the grouping bar. I can't emulate that at all. How is that done please? And can all that be hidden?
3) Another problem is formatting. If I show the Date column, the values in that column format correcty e.g. "01/02/2017", just showing short date with no time. But if I drag the Date column to the group bar then the group dividers show the time element e.g. "01/02/2017 00:00:00".
Trying to fix this I've added a Group Descriptor to the properties for the grid for Group, with format {0~:1d} but it doesn't seem to work (and also keeps disappearing from my Designer file)
Can you help please?