1.4.2 • Published 2 months ago

@dihariga/table-responsive v1.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

table-responsive-app & table-responsive-lib

This project was generated with Angular CLI version 16.2.0.

img.png

Config

config: IResponsiveTableConfig = {
    showCheckHeader:  true,                           // ---------NOT IMPLEMENTED
    onSelectRow:      Function,          // onClickRow -> implicit selected
    displayTableName: true,
    displayFooter:    true,
    // headerHeight:     50,        // default auto
    footerHeight:     60,           // default 50
    rowHeight:        40,           // default 50 ---------NOT IMPLEMENTED

    showLoading:      true,
    scrollV:          true,         // not implemented DEFAULT
    scrollH:          false,        // ---------NOT IMPLEMENTED
    language:         'de',
    messageTableNoData: 'There are no data to display!',

    selectionType: SelectionType.multi,         // ---------NOT IMPLEMENTED
  };
<lib-table-responsive
        class="material expandable virtualized"
        [rows]="dataStruct.data"
        [config]="config"
        [selected]="selected"
        [droggableColumns]="false"  <--! not implemented -->
        [droggableRows]="true"
      >
        <lib-table-responsive-column key="checkbox" name="" [width]="50" [maxWidth]="50" [minWidth]="50"
                                     [headerTemplate]="checkbox_header_Template"
                                     [cellTemplate]="checkbox_cell_Template">
        </lib-table-responsive-column>

        <ng-container *ngFor="let structEl of structureElem.atts;">
          <lib-table-responsive-column key="{{structEl.key}}" name="{{structEl.name}}" [style]="getStyle(structEl.key)">
            <ng-template let-row="row" let-value="value" let-rowIndex="rowIndex" lib-table-responsive-cell-template>
              <div [style]="hasCustomStyle(structEl.key, row)">{{row[structEl.key]}}</div>
            </ng-template>
          </lib-table-responsive-column>
        </ng-container>

        <lib-table-responsive-column key="" name="" [width]="100" [maxWidth]="100" [minWidth]="100"
                                     [headerTemplate]="right_header_Template"
                                     [cellTemplate]="right_cell_Template">
        </lib-table-responsive-column>

      </lib-table-responsive>

Build & compile

install_build.md

1.4.2

2 months ago

1.4.1

3 months ago

1.4.0

3 months ago

1.3.0

3 months ago

1.2.3

4 months ago

1.2.2

4 months ago

1.2.1

4 months ago

1.2.0

4 months ago

1.1.1

5 months ago

1.1.7

5 months ago

1.1.6

5 months ago

1.1.5

5 months ago

1.1.4

5 months ago

1.1.3

5 months ago

1.1.2

5 months ago

1.0.1

5 months ago