I am using Angular along with UI-Grid (http://ui-grid.info/)
I have setup the Grid using the options below
this.mdGridLogOptions.gridOptions= {
enableSorting: false,
enableColumnMenus: false,
enableAutoFitColumns: false,
paginationPageSizes: [25, 50, 100, 200, 500],
enableFiltering: true,
enableGridMenu: false,
enableCellEditOnFocus: true,
columnDefs: [
{
field: 'override_date',enableCellEdit:true,
displayName: 'PROMISE DATE', type: 'date',
cellFilter: 'date:"MMM-dd-yyyy"',
cellTemplate:'<div class="ui-grid-cell-contents" layout="row" layout-align="space-between end"><div>{{COL_FIELD CUSTOM_FILTERS}}</div><div ng-click="grid.appScope.clickHandler()" class="material-icons md-light">event</div></div>',
editableCellTemplate: '<div uigriddatepicker ng-class="colt + col.uid"></div>'}}
The field shows properly as below. I have couple of problems
- Only Double Click works for editing the field. I understand editcellonfocus is an option but its not working as intended since i am unable to disable double click
- I want to start the edit process by clicking the calendar button and disable the double click button. is there BEGINEDIT firing event for the parent cell?