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