diff --git a/example/src/app/gantt/gantt.component.html b/example/src/app/gantt/gantt.component.html index 738b731..3880e49 100644 --- a/example/src/app/gantt/gantt.component.html +++ b/example/src/app/gantt/gantt.component.html @@ -49,6 +49,7 @@ { item: GanttItem; } -export class GanttSelectedEvent { +export class GanttTableItemClickEvent { event: Event; current?: GanttItem; +} + +export class GanttSelectedEvent extends GanttTableItemClickEvent { selectedValue: GanttItem | GanttItem[]; } diff --git a/packages/gantt/src/components/table/body/gantt-table-body.component.html b/packages/gantt/src/components/table/body/gantt-table-body.component.html index bd3cf15..8216cb8 100644 --- a/packages/gantt/src/components/table/body/gantt-table-body.component.html +++ b/packages/gantt/src/components/table/body/gantt-table-body.component.html @@ -33,7 +33,7 @@
(); + @Output() itemClick = new EventEmitter(); + @ContentChild('rowBeforeSlot', { static: true }) rowBeforeTemplate: TemplateRef; @ContentChild('rowAfterSlot', { static: true }) rowAfterTemplate: TemplateRef;