]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: add custom filtering rules to the table 69378/head
authorNizamudeen A <nia@redhat.com>
Wed, 10 Jun 2026 05:21:33 +0000 (10:51 +0530)
committerNizamudeen A <nia@redhat.com>
Wed, 17 Jun 2026 05:35:01 +0000 (11:05 +0530)
commitc7c62383d8d2d27aca82d9bfa0a32b809817d7b4
treed7e46fa288815b4fd1b8fd574ae9eb599f287f71
parent4cd080d6f3dc34bd48dc9d0c580a7568035c9498
mgr/dashboard: add custom filtering rules to the table

```
<cd-table #table
                id="pool-list"
                [data]="pools"
                [columns]="columns"
                selectionType="single"
                [hasDetails]="true"
                [status]="tableStatus"
                [autoReload]="-1"
                (fetchData)="taskListService.fetch()"
                (setExpandedRow)="setExpandedRow($event)"
                (updateSelection)="updateSelection($event)"
                [customFilter]="true" # set this to true
                (customFilterChange)="onCustomFilterChange($event)" #
get the new rules from here>
```

Fixes: https://tracker.ceph.com/issues/77290
Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.html
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.scss
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/enum/icons.enum.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/models/cd-table-column-filter.ts