Row Template

2 posts, 0 answers
  1. Joel
    Joel avatar
    207 posts
    Member since:
    Jun 2018

    Posted 20 Oct 2020 Link to this post

    I'm trying to define a grid where the first column is a checkbox and the 2nd has a large font bound to "name" with a small font below it showing the "description".  I'd appreciate a working example.


    This is NOT working:

    <script id="rowTemplate" type="text/x-kendo-tmpl">
                        <tr data-uid="#: uid #">
                            <td class="checkbox">
                                <input type="checkbox" name="optCheck" />
                            <td class="details">
                                <span class="name">#: Name #</span>
                                <span class="desc">#: Description #</span>
                        .DataSource(dataSource => dataSource
                            .Read(read => read.Action("IndexJson", "SessionOptionTemplates")



        .checkbox {
            width: 75px;
        .details {
            width: 400px;
        .name {
            display: block;
            font-size: 1.6em;
        .desc {
            display: block;
            padding-top: 1.6em;
            font-size: small


  2. Preslav
    Preslav avatar
    591 posts

    Posted 23 Oct 2020 Link to this post

    Hello Joel,

    I examined the provided code. The reason for the described faulty behavior comes from the fact that the row template is not inside the relevant property.

    If we use an implementation similar to the one below, the issue should be resolved:

        "<tr data-uid='#: uid #'>" +
            "<td class='checkbox'>" +
                "<input type='checkbox' name='optCheck' />" +
            "</td>" +
            "<td class='details'>" +
                "<span class='name'>#: Name #</span>" +
                "<span class='desc'>#: Description  #</span>" +
            "</td>" +

    Also, you could check our demo regarding the Row Templates -

    I hope the above information helps.


    Progress Telerik

    Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at

Back to Top