Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

How to resize popup screen with jquary

$
0
0

When a row double click a edit form pops up and re-sizes but when add new record button is click the form is not re-sizes. 

This only works when edit button is clicked:

                $("#grid tbody").on("dblclick", "tr", function () {
                    var grid = $("#grid").data('kendoGrid');
                    grid.editRow(this);                    
                    $(".k-edit-form-container").parent().width(1200).data("kendoWindow").center();                    
                    $(".k-edit-buttons").parent().width(1200).data("kendoWindow");                    
                });

 

how can I use this code to re-size the form when both buttons are clicked?


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>