JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Data Grid rowpan doesn’t work on columns that use template or editor properties

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #107107
    Daniz Erakan
    Participant

    Table That i want to make

    that is an image of the table form that I want to make, 
    however, for the checkbox and time sections the rowspan that I provided doesn't work and 
    even seems to be skipped because the console.log() function that I use to see the results doesn't run at all

     

    As you can see, the checkbox and time columns cannot join each other, is there a way to do this?

    
    {
    cellsAlign: "center",
    label: "hasil",
    align: "center",
    dataField: "hasil",
    rowSpan: (value, rowIndex, data) => {
    console.log(value);
    if (rowIndex % 2 === 0) {
    return 2;
    }
    },
    template: "checkBox",
    editor: "checkBox"
    }
    

    This is an example of column code that uses checkboxes and cannot use rowspan

    • This topic was modified 10 months, 3 weeks ago by Daniz Erakan.
    #107113
    admin
    Keymaster

    Hi Daniz,

    The templates define a specific cell rendering. The rowSpan functionality is supported for cells with standard rendering. The feature cannot be applied for template cells.

    Regards,
    Peter

    #107116
    Daniz Erakan
    Participant

    So there is no other way to use rowspan for cell template ? Or is there a manual way that I can use

    #107133

    Hi,

    There is no other way to use rowSpan with a cell that has a template

    Best Regards,
    Svetoslav Borislavov

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

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