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

Grid width and editor popup buttons custom text

1 Answer 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Paolo
Top achievements
Rank 1
Paolo asked on 09 Nov 2015, 05:58 PM

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

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 12 Nov 2015, 06:05 AM
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.

Regards,
Alexander Popov
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
Paolo
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or