Customize edit label in Grid

4 posts, 0 answers
  1. MUHAMMAD AIMAN
    MUHAMMAD AIMAN avatar
    3 posts
    Member since:
    Dec 2012

    Posted 28 Jul 2013 Link to this post

    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.
  2. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 31 Jul 2013 Link to this post

    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!
  3. UI for ASP.NET AJAX banner
  4. Mithun Prasath
    Mithun Prasath avatar
    5 posts
    Member since:
    Nov 2013

    Posted 05 Dec 2013 Link to this post

    Hai,
          Now i am working in kendo with jsp <kendo:grid-scrollable virtual="false"></kendo:grid-scrollable> is not working
  5. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 05 Dec 2013 Link to this post

    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!
Back to Top
UI for ASP.NET AJAX banner