Hi,
We are using the GridView and are adding in the use of column footers and, because of the way our site is implemented, we are creating the footers completely in code behind.
We are creating a new Grid object and setting the column.Footer as this new Grid object.
Using the example screenshot attached, you'll see that 2 of the column footers have grids with 3 rows in and another column has a grid with only 2 rows in. We want the grid in the column footer with only 2 rows in to appear at the top (vertically aligned) but it keeps appearing vertically centered within the footer cell. We've tried setting the Grid.VerticalAlignment = Top but it has no effect. Each grid in the footer has a maximum of 4 rows (sum/min/max/average) but we don't know until runtime how many there will be.
Is there a property on the column that I've missed to set this vertical alignment?
Thanks
We are using the GridView and are adding in the use of column footers and, because of the way our site is implemented, we are creating the footers completely in code behind.
We are creating a new Grid object and setting the column.Footer as this new Grid object.
Using the example screenshot attached, you'll see that 2 of the column footers have grids with 3 rows in and another column has a grid with only 2 rows in. We want the grid in the column footer with only 2 rows in to appear at the top (vertically aligned) but it keeps appearing vertically centered within the footer cell. We've tried setting the Grid.VerticalAlignment = Top but it has no effect. Each grid in the footer has a maximum of 4 rows (sum/min/max/average) but we don't know until runtime how many there will be.
Is there a property on the column that I've missed to set this vertical alignment?
Thanks