How to use the @swimlane/ngx-datatable.SortDirection.asc function in @swimlane/ngx-datatable

To help you get started, we’ve selected a few @swimlane/ngx-datatable examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ceph / ceph / src / pybind / mgr / dashboard / frontend / src / app / shared / datatable / table / table.component.ts View on Github external
createSortingDefinition(prop: TableColumnProp): SortPropDir[] {
    return [
      {
        prop: prop,
        dir: SortDirection.asc
      }
    ];
  }

@swimlane/ngx-datatable

ngx-datatable is an Angular table grid component for presenting large and complex data.

MIT
Latest version published 2 years ago

Package Health Score

65 / 100
Full package analysis