Hi,I have a grid with a template column;
I would like to pass the entire dataItem to my Angular Controller. I have been able to pass a value back to my controller;
Is there a way of doing this?
Thanks,
George
{ field: "", template: '<input type="button" class="btn btn-primary btn-xs" ng-click="openContactDialog(\'officeContactWindow\',Id=#=contactId#\,\'open\')" name="bEditContact" value="Edit" />', width: "60px"},I would like to pass the entire dataItem to my Angular Controller. I have been able to pass a value back to my controller;
{ field: "", template: '<input type="button" class="btn btn-primary btn-xs" ng-click="deleteContact(dataItem)" name="bDeleteContact" value="Delete" />', width: "60px"}Is there a way of doing this?
Thanks,
George