I am using ng-grid and binding bootstrap calender control onto ng-grid as
follows
* $scope.EmployeeGridOptions.columnDefs = [
{
field: 'requestStartDate', displayName: 'Start Date',
cellTemplate: '<input ng-click="open($event,row.rowIndex)"
ng-model="row.entity.requestStartDate" datepicker-append-to-body=true
datepicker-popup="MM/dd/yyyy" is-opened="false"></input>'
}
]*
I want to open the data picker control when user click on textbox. Right now
datepicker is getting opened all the time. Is there is any way to open an
instance of datepicker when open function is fired.
$scope.calandar=function($event,row){
$event.preventDefault();
$event.stopPropagation();
$scope.opened2 = true;
}
Help with regards to this is highly appreciated..Thank you.
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.