This is a migrated thread and some comments may be shown as answers.

column.command.className breaks clickability of command button in grid

1 Answer 121 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 28 Jun 2013, 05:04 PM
When I add the className property to a command in a grid I no longer receive the confirmation dialog. It seems the clicking is broken.

Here is the jsBin

Jon

Update:
The class on the anchor tag that received the className is "k-button k-button-icontext unassign k-grid-destroy k-grid-destroy"
The class on the anchor tag without the className is "k-button k-button-icontext k-grid-delete".

Why did k-grid-delete change to k-grid-destroy?

I'm using IE9 on Win7.

1 Answer, 1 is accepted

Sort by
0
Accepted
Vladimir Iliev
Telerik team
answered on 02 Jul 2013, 02:11 PM
Hi Jon,

Thank you for bringing that behavior to our attention - after deeper investigation we finally able to identify the reason for this behavior and fix the issue on our side. The fix will be available with next KendoUI internal build (expected to the end of the week). Until the fix is released you can add the "k-grid-delete" class to your custom CSS class:

{ command: [{ className: 'unassign k-grid-delete', name: 'destroy', text: 'No confirm' }], title: 'Not Clickable', width: 150 },

As a small sign of our appreciation I have updated your Telerik points.

 Kind Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Jon
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or