import 'dragula/dist/dragula.css';
*
* For ngx-datatable options, see: https://swimlane.gitbooks.io/ngx-datatable/
*
* Note: The underlying ngx-datatable uses ContentChildren to retrieve DataTableColumnDirective (ngx-datatable-column)
* tags. As a result of wrapping ngx-datatable, these objects are no longer direct descendents and ContentChildren
* cannot retrieve them. A fix to ContentChildren may be in the works...
*
* Instead of using ngx-datatable-column, table cells may be defined using templates, provided as the
* columns cellTemplate property. For example:
*
*
* this.columns = [{
* cellTemplate: this.nameTemplate,
* prop: 'name',
* name: 'Name'
* }]
*
*
* and
*
*
* <ng-template #nameTemplate let-row="row">
* <span>{{row.name}}</span>
* </ng-template>
*
*
* Usage:
*
* // Individual module import
* import { TableModule } from 'patternfly-ng/table';
* // Or
* import { TableModule } from 'patternfly-ng';
*
* // NGX Bootstrap
* import { BsDropdownConfig, BsDropdownModule } from 'ngx-bootstrap/dropdown';
* // NGX Datatable
* import { NgxDatatableModule } from '@swimlane/ngx-datatable';
*
* @NgModule({
* imports: [BsDropdownModule.forRoot(), NgxDatatableModule, TableModule,...],
* providers: [BsDropdownConfig]
* })
* export class AppModule(){}
*
*
* Optional:
*
* import { NgxDataTableConfig, TableConfig, TableEvent } from 'patternfly-ng/table';
*
*/
export declare class TableComponent extends TableBase implements AfterViewInit, DoCheck, OnInit {
private dragulaService;
/**
* An array of items to display for table columns
*/
columns: any[];
/**
* The table config containing component properties
*/
config: TableConfig;
/**
* The ngx-datatable config containing component properties
*/
dataTableConfig: NgxDataTableConfig;
/**
* The name of the template used with expanding rows
*/
expandRowTemplate: TemplateRef