row-detail.directive.d.ts 759 B

123456789101112131415161718192021222324252627
  1. import { EventEmitter, TemplateRef } from '@angular/core';
  2. export declare class DatatableRowDetailDirective {
  3. /**
  4. * The detail row height is required especially
  5. * when virtual scroll is enabled.
  6. */
  7. rowHeight: number | ((row?: any, index?: number) => number);
  8. _templateInput: TemplateRef<any>;
  9. _templateQuery: TemplateRef<any>;
  10. readonly template: TemplateRef<any>;
  11. /**
  12. * Row detail row visbility was toggled.
  13. */
  14. toggle: EventEmitter<any>;
  15. /**
  16. * Toggle the expansion of the row
  17. */
  18. toggleExpandRow(row: any): void;
  19. /**
  20. * API method to expand all the rows.
  21. */
  22. expandAllRows(): void;
  23. /**
  24. * API method to collapse all the rows.
  25. */
  26. collapseAllRows(): void;
  27. }