How to group or merge cells in word document

3 posts, 0 answers
  1. Artemij
    Artemij avatar
    1 posts
    Member since:
    Aug 2019

    Posted 14 Aug 2019 Link to this post

    Hello, tell me please, can I do such a thing as merge/group cells in table with the same values when I export datatable from SQL base to word document

    if so answer with code example

    what exactly I want represent on attached files

  2. Evan
    Evan avatar
    13 posts
    Member since:
    Sep 2017

    Posted 14 Aug 2019 in reply to Artemij Link to this post

    Look into RowSpan for the TableCell you want to have span multiple rows
  3. Peshito
    Admin
    Peshito avatar
    585 posts

    Posted 19 Aug 2019 Link to this post

    Hello Artemij,

    Merging rows and columns can be achieved by using the TableCell's RowSpan/ColumnSpan properties. You can find more information on how to edit and update tables in the following links:
     - Table
     - TableRow
     - TableCell

    You can use document's EnumerateChildrenOfType<T>() method to locate the table you would like to update.

    Hope this helps.

    Regards,
    Peshito
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top