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

Customize edit label in Grid

3 Answers 163 Views
Grid
This is a migrated thread and some comments may be shown as answers.
MUHAMMAD AIMAN
Top achievements
Rank 1
MUHAMMAD AIMAN asked on 29 Jul 2013, 03:34 AM
With Javascript, we can customize edit command: edit, update, cancel label.
http://stackoverflow.com/questions/16927841/change-button-text-in-kendo-ui-grid-popup-window

How to perform this with JSP wrapper?
http://docs.kendoui.com/api/wrappers/jsp/grid/column-commanditem

It seems like after 'text', we can't further customize edit, update, cancel label with JSP tag.

3 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 31 Jul 2013, 07:56 AM
Hi MUHAMMAD,

 
Currently setting the texts of the "update" and "cancel" buttons is not supported in JSP wrappers, however this option will be included until KendoUI 2013 Q2 SP1 release (most probably it will be available in next internal builds). Until this feature is added to the JSP wrappers you can use the Edit event of the Grid to modify the texts of these buttons manually:

<kendo:grid-edit>
    <script>
        function edit(e){
                $(".k-grid-cancel").html($(".k-grid-cancel").find("span")).append("CancelText");
                $(".k-grid-update").html($(".k-grid-update").find("span")).append("UpdateText");
        }
    </script>
</kendo:grid-edit>

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!
0
Mithun Prasath
Top achievements
Rank 1
answered on 05 Dec 2013, 09:44 AM
Hai,
      Now i am working in kendo with jsp <kendo:grid-scrollable virtual="false"></kendo:grid-scrollable> is not working
0
Vladimir Iliev
Telerik team
answered on 05 Dec 2013, 10:54 AM
Hi MUHAMMAD,

I tried to reproduce the problem locally but to no avail – everything is working as expected on our side. Could you please provide runable project where the issue is reproduced? This would help us pinpoint the exact reason for this behavior.

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
MUHAMMAD AIMAN
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Mithun Prasath
Top achievements
Rank 1
Share this question
or