1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-09-19 02:02:13 +02:00

Add global fuzzy search and columns visibility to RichTable

This commit is contained in:
Aleksandr Gumroian
2025-03-05 16:52:45 +01:00
parent 377b4279fd
commit 54a801a580
8 changed files with 226 additions and 44 deletions

View File

@@ -55,6 +55,12 @@ function RichTableHeader({ table, flexRender }) {
) : (
<button
type="button"
style={
header.column.columnDef
.headerClassName === "text-center"
? { justifySelf: "center" }
: {}
}
className={`btn btn-link text-decoration-none text-reset fw-bold p-0 d-flex align-items-center
${
header.column.getCanSort()