Hi.
I'm using Schedule integrated with angular for some events on appointment and the data is retrieved though the data manager framework.
<script id="schedule" type="text/javascript">
//Data manager for EJ Scheduler
var dataMng = ej.DataManager({
url: 'Operacion/GetData',
crossDomain: true,
adaptor: new ej.UrlAdaptor()
});
</script>
// Snippet for angular controller function
function controllerOperacion($scope, $filter, $uibModal, $log, semanas) {
$scope.title = 'Días/Semanas de Operación';
$scope.semanaActual = null;
$scope.semanaTitle = '--';
$scope.semanaSubTitle = 'Seleccione día/semana';
$scope.diaActual = null;
$scope.diaTitle = '--';
$scope.diaSubTitle = 'Seleccione día';
$scope.appointments = dataMng;
I add new appointments outside the scheduler, so I need to tell datamanager to load again the data to refresh the UI. There is a way to do this ? I appreciate any help on this.
Thanks in advance