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
195
Vertical text orientation in ultragrid spanning multiple rows
posted

Hi,

    Can a text be oriental vertically and span multiple rows as shown in the attached file attachment.

Thanks and Regards,

Abhijit

Parents
No Data
Reply
  • 21795
    Offline posted

    Hello Abhijit,

    To merge the cells across rows in the grid you need to set MergedCellStyle of the corresponding column to Always. Note, that you can even create your own logic for merging cells by implementing IMergedCellEvaluator Interface as shown here.

    Rotating the cell text is not possible in the grid. However, by implementing custom DrawFilter you can achieve this.

    Attached is a small sample showing how you can merge cells and rotate the cell text. Keep in mind that cells are merged and the text is rotated as long as the cell is not in edit mode. When the cell enters edit mode the cell editor gets painted and merging ends.

    Please let me know if you have any additional questions.

    UltraGridMergeCells.zip
Children
No Data