Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
Center the text value of a merged cell in the grid
posted

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. 

 

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Hi,

        This doesn't work because you are setting the appearance of the Cell. You need to use the MergedCellAppearance on the Overide.  

Children