Can anyone help me how to center the value of a merged cell in the grid.
I have used e.Row.Cells(Index).Appearance.TextVAlign and e.Row.Cells(Index).Appearance.TextHAlign properites in InitializeRow event which is not working.
Thanks,
-cbvidya.
Hi,
This doesn't work because you are setting the appearance of the Cell. You need to use the MergedCellAppearance on the Overide.
I tried the MergeCellAppearance property which is not working too...
I tested this out before posting and it works fine for me. Are you sure you are setting the right property on the right object and that your code is getting called? Are you loading a layout or preset into the grid that might be overriding this setting?