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

Moving Update and Cancel button after widen popup editor.

2 Answers 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
CC
Top achievements
Rank 2
CC asked on 08 Oct 2013, 07:16 PM
I am working with the grid view popup editor using MVC. I was able to widen the Default popup editor Default window to Size 700px. The Update and Cancel button is currently still in the Default location. How is it possible to get them to move.

2 Answers, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 09 Oct 2013, 09:36 AM
Hello,

I would recommend using the Grid's edit event to resize the popup Window and it's child
div elements. Here is an example:   
$("#grid").kendoGrid({
  edit: function(e){
    e.container.css("width", "800px");
    e.container.find(".k-edit-buttons.k-state-default").css("width", "780px");         
  }, ...

Regards,
Alexander Popov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
CC
Top achievements
Rank 2
answered on 09 Oct 2013, 12:57 PM
Thanks Alexander that worked.
Tags
Grid
Asked by
CC
Top achievements
Rank 2
Answers by
Alexander Popov
Telerik team
CC
Top achievements
Rank 2
Share this question
or