Hi,
i need to add some new button on toolbar.
I try to define a toolbar options like this
toolbar: [{name:"Nuova Attività", imageClass: "k-icon k-add" },
{ name: "Ricerca", className: "k-grid-ricerca", imageClass: "k-icon k-i-search" },
{ template: $j("#Toolbar").html() }
],
....and the script template:
<script type="text/x-kendo-template" id="Toolbar">
<form id="frmSearch" name="frmSearch" style="display:none">
<label class="nome-label" for="nome">Nome:</label>
<input type="nome" id="nome" style="width: 130px"></input>
</form>
</script>
i try to select the custom class k-grid-ricerca but it doesn't work.
$j(".k-grid-ricerca").click(function(){
alert("hello");
});
do you have some solutions? Thanks
i need to add some new button on toolbar.
I try to define a toolbar options like this
toolbar: [{name:"Nuova Attività", imageClass: "k-icon k-add" },
{ name: "Ricerca", className: "k-grid-ricerca", imageClass: "k-icon k-i-search" },
{ template: $j("#Toolbar").html() }
],
....and the script template:
<script type="text/x-kendo-template" id="Toolbar">
<form id="frmSearch" name="frmSearch" style="display:none">
<label class="nome-label" for="nome">Nome:</label>
<input type="nome" id="nome" style="width: 130px"></input>
</form>
</script>
i try to select the custom class k-grid-ricerca but it doesn't work.
$j(".k-grid-ricerca").click(function(){
alert("hello");
});
do you have some solutions? Thanks