Unplanned
Last Updated: 26 Apr 2022 08:29 by Colin
Colin
Created on: 26 Apr 2022 08:29
Category: TileLayout
Type: Feature Request
5
Allow the addition of custom attributes to the containers of the TileLayout items
Allow the addition of custom attributes to the containers of the TileLayout items, for example:
$("#tilelayout").kendoTileLayout({
    containers: [
        {
            colSpan: 1,
            rowSpan: 1,
            header: {
                text: "Item one"
            },
            bodyTemplate: kendo.template($("#first").html()),
            attributes:{
                class: "myClass"
            }
        },
        {
            colSpan: 1,
            rowSpan: 1,
            header: {
                text: "Item two"
            },
            bodyTemplate: kendo.template($("#second").html())
        }
    ],
    columns: 4
});
 
0 comments