Grid pupup edit save / cancel buttons

2 posts, 0 answers
  1. Dina
    Dina avatar
    50 posts
    Member since:
    Feb 2012

    Posted 20 May 2017 Link to this post

    you can set save / cancel buttons text buy UpdateText and CancelText of command.Edit()

    columns.Command(command => { command.Destroy().Text(" "); command.Edit().HtmlAttributes(new { style = " " }).Text(" ").UpdateText("Сохранить").CancelText("Отмена"); }).Width(100);


    what if I need only delete button present in grid? (so user can add or delete items)?

    if I remove edit command I will get default button names. If I set command.Edit(). HTMLAttributes display to none I will get no edit button but also I get NO save update buttons in popup

  2. Preslav
    Preslav avatar
    591 posts

    Posted 23 May 2017 Link to this post

    Hello Dima,

    A possible workaround is configuring the Visible property of Edit command. For example:

    command.Edit().Visible("notVisible").Text(" ").UpdateText("Сохранить").CancelText("Отмена");
    <script type="text/javascript">
        function notVisible() {
            return false;

    Please, give the above a try and let me know if you require any further assistance.

    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top