Hi
I am trying to create a grid with a custom toolbar button, bt am having difficulty wiring it up.
The toolbar is defined as
but clicking the button just reloads the page.
The dojo http://dojo.telerik.com/abefe illustrates this. What am I doing wrong?
Thanks
Colin
I am trying to create a grid with a custom toolbar button, bt am having difficulty wiring it up.
The toolbar is defined as
toolbar: [
{
name:
"upload"
,
text:
"Upload Contacts"
,
click: e => {
alert(
'uploadContacts'
);
return
false
;
}
}]
but clicking the button just reloads the page.
The dojo http://dojo.telerik.com/abefe illustrates this. What am I doing wrong?
Thanks
Colin