A grid is populated with data with changing column names; ie:
1) "Unit", "a", "b", "c", "User"
2) "Unit", "d", "e", "User"
To handle this the property "AutoGenerateColumns" is set to true.
For the columns a, b, c, d and e, I would like to have both the column header and the row values centered.
How (and where) do I access the columns in order to have the column header (HorisontalAign) and row values centered?
1) "Unit", "a", "b", "c", "User"
2) "Unit", "d", "e", "User"
To handle this the property "AutoGenerateColumns" is set to true.
For the columns a, b, c, d and e, I would like to have both the column header and the row values centered.
How (and where) do I access the columns in order to have the column header (HorisontalAign) and row values centered?