This is a migrated thread and some comments may be shown as answers.

How to initialize the custom Widget in TD(grid cell) ?

0 Answers 131 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bala
Top achievements
Rank 1
Bala asked on 22 May 2012, 09:38 AM
HI support,

I have a jQuery Custom widget, how to initialize  that widget in Kendo Grid cell using the template?


This is my Template

<script id="IDCOL-tmpl" type="text/x-kendo-tmpl">
 
            <div class="IDCOL">
                <script type="text/javascript">
                    $('.IDCOL').Block();
                {{html "</sc"+"ript>"}}
            </div>
 
    </script>

and Kendo Grid initialization
$("#container").kendoGrid({
    ..........
    columns : [{
        title : "ID",
        template : kendo.template($("#IDCOL-tmpl").html())
    }, "StartTime", "EndTime"]
});

This is the error:

"Microsoft JScript runtime error: Could not complete the operation due to error 80020101.") in globalEval (which is in jquery-1.7.1.js)




No answers yet. Maybe you can help?

Tags
Grid
Asked by
Bala
Top achievements
Rank 1
Share this question
or