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

Keep open in kendo grid edit popup

1 Answer 297 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Muhammad Fiqih
Top achievements
Rank 1
Muhammad Fiqih asked on 05 Sep 2018, 04:50 AM

Hi,

I have a problem with kendo the edit grid popup, i cannot validate empty when i save a data, but popup has been closed Please give a solution about this problem

This is my code

01.if($scope.approveModel.notes == ""){
02. $rootScope.$broadcast(EVENTS.CLIENT.warningResponse, "Notes harus diisi");
03.                     
04.}else{
05. approvalService
06. .save($scope.approveModel)
07. .then(function (response, status, headers, config) {
08.    var grid = $("#approvalGrid").getKendoGrid();
09.    grid.dataSource.read();
10.  });
11.}

 

Thanks

 

*sorry for my bad english

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 05 Sep 2018, 11:13 AM
Hello Muhammad,

As I understand the requirement you would like to prevent the Grid popup from closing when there are validation errors. If that is the case please check out the threads below that discuss the functionality. 



Regards,
Viktor Tachev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Muhammad Fiqih
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or