I want to create a custom toolbar. Here is my code:
toolbar:[{
text: "Go to Add User Page",
className: "k-grid-custom",
imageClass: "k-add"
}],
function createUser(){
alert('Hello World');
}
I want to call the function named createUser when this button(custom toolbar) is clicked. How to make it possible?
1 Answer