I was trying to recreate the custom command demo and I'm having an issue.
The issue seems to relate to the text property on the command:
Using the kendo.web.min.js file the following html is generated for the button.
Your demo using kendo.all.min.js:
The class should be "k-grid-VIewDetails" like the "kendo.all.min.js" but in the "kendo.web.min.js" it is creating two classes one being "k-grid-View" and "Details"
This causes the button to not work. Taking the space out of "View Details" when defining the text property for the command allows the button to work with no other modifications.
The issue seems to relate to the text property on the command:
command: { text: "View Details", click: showDetails }, title: " ", width: "140px"
Using the kendo.web.min.js file the following html is generated for the button.
<
a
class
=
"k-button k-button-icontext k-grid-View Details"
href
=
"#"
>
<
span
class
=
" "
></
span
>
View Details
</
a
>
Your demo using kendo.all.min.js:
<
a
class
=
"k-button k-button-icontext k-grid-ViewDetails"
href
=
"#"
>
<
span
class
=
" "
></
span
>
View Details
</
a
>
The class should be "k-grid-VIewDetails" like the "kendo.all.min.js" but in the "kendo.web.min.js" it is creating two classes one being "k-grid-View" and "Details"
This causes the button to not work. Taking the space out of "View Details" when defining the text property for the command allows the button to work with no other modifications.