cannot read property 'data' of undefined datatables
cannot read property 'data' of undefined datatables
I got error cannot read property 'data' of undefined datatables
if i use angular ui bootstrap date picker in data table thead > tr > td any solution for this please here is code i used
<thead>
<tr>
<td>
<div class="input-group input-group-sm" style="margin: auto;" ng-class="{'datepicker-has-error': siteActivatedDate.failledValidation}">
<input type="date" class="datepicker-sm datepicker-unstyled" ng-model="siteActivatedDate.activatedOn" ng-change="siteActivationDateChange($event,siteActivatedDate)" />
<div ng-show="!siteActivatedDate.failledValidation"> </div>
<div class="text-danger" ng-show="siteActivatedDate.failledValidation">Required</div>
</div>
<input class="form-control" name="releaseDate"
ng-model="albumReleaseDateObj.releaseDate" placeholder="Release Date"
datepicker-popup="d-MMM-yyyy" datepicker-options="dateOptions"
is-open="albumReleaseDateObj.isDatePickerOpen"
ng-change="albumReleaseDateObj.releaseOnFailledValidation = false"
ng-disabled="isReleaseDateDisabled" readonly />
<span class="input-group-btn">
<button type="button" class="btn btn-default" ng-click="openDatePicker($event,albumReleaseDateObj)" ng-disabled="isReleaseDateDisabled">
<i class="glyphicon glyphicon-calendar"></i>
</button>
</span>
Replies
error message is " datatables cannot read property 'mdata' of undefined"