Grid width and editor popup buttons custom text

2 posts, 0 answers
  1. Paolo
    Paolo avatar
    26 posts
    Member since:
    Nov 2015

    Posted 09 Nov 2015 Link to this post

    I am trying kendo ui for php grid.

    I cannot find in documentation how to set a fixed grid width and how to customize Update, Cancel buttons on edit popup and how to set popup title text.

    Any help appreciated

  2. Alexander Popov
    Alexander Popov avatar
    1411 posts

    Posted 12 Nov 2015 Link to this post

    Hello Paolo,

    This can be done by subscribing to the Grid's edit event. Once the event is triggered you can check the e.model.isNew method in order to detect whether a new item is added or an existing one is being edited. Then you can access the e.container element, which is also a Window widget and modify it as necessary. Here is JavaScript example that illustrates the above approach.

    Alexander Popov
    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
Back to Top