this.DategridOptions = {
columnDefs: [
{ headerName: 'Name', field: 'Name', width: 500, filter: 'agTextColumnFilter' },
{ headerName: 'Relationship', field: 'Relationship',
filter:'agNumberColumnFilter', type: ''},
{ headerName: 'FromDate', field: 'FromDate', width: 200, filter:
'agTextColumnFilter', type: 'Date'},
{ headerName: 'ToDate', field: 'ToDate', width: 200, filter: 'agTextColumnFilter',
type: 'Date'},
{ headerName:'TicketsClaimed', field: 'TicketsClaimed', width: 200, filter:
'agTextColumnFilter'},
{ headerName: 'TicketstobeCancelled', field: 'TicketstobeCancelled', width: 200,
filter: 'agTextColumnFilter'}
],
apiDataUrl: this.service.CancelTicket_URL + '/GetModel',
showSerialNoColumn: true,
showRowSelection: true,
checkboxSelection: false,
onSelectionChanged: (event) => this.onSelectionChanged(event),
};
onSelectionChanged(event){
console.log(event);
}