Hi there,
I have a kendo grid with a custom, unnamed command like this:
How do I add an icon to the button? I tried setting the imageClass, like this:
but the image never shows up. Things seem to work somewhat when I use one of the known commands like Edit or Destroy; I get the default icon, but not the one assigned by the k-i class. Any ideas?
Thanks in advance,
Imar
I have a kendo grid with a custom, unnamed command like this:
{ command: { text:
"Download PDF"
, click: downloadPdf }, title:
" "
, width:
"115px"
}
How do I add an icon to the button? I tried setting the imageClass, like this:
{ command: { text:
"Download PDF"
, click: downloadPdf }, title:
" "
, width:
"115px"
, imageClass:
"k-icon k-i-pencil"
}
but the image never shows up. Things seem to work somewhat when I use one of the known commands like Edit or Destroy; I get the default icon, but not the one assigned by the k-i class. Any ideas?
Thanks in advance,
Imar