JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Data Grid Angular with component template and cellspan

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #108925
    Marco Ziliotti
    Participant

    Hello,

    I am using Smart Grid for Angular for an Excel like table, so I need to merge cells setting colspan. At the same time, I need to customize the content of the spanned cell, so I’d like to create a custom component, or at least a custom template, for the cell. At the moment, I could create the template, the cell seems to be spanned (I can see that with html inspection) but “on the surface” the cells appear as single (see attached image). Are cellspan and cell template/componet compatible? In this case, could you provide an example? Thank you, regards

    #108954

    Hi,

    Cell template and colspan are not compatible.
    You can only set the text content of the merged cell
    Please visit this demo: https://www.htmlelements.com/angular/demos/grid/merged-cells/

    Best Regards,
    Svetoslav Borislavov

    Smart UI Team
    https://www.htmlelements.com/

    #108962
    Marco Ziliotti
    Participant

    Thank you,

    regards

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.