Skip to content

Commit

Permalink
[nested-v-grid] Don't show root-header cells
Browse files Browse the repository at this point in the history
  • Loading branch information
kimo-k committed Feb 26, 2025
1 parent e5f7b93 commit 2ac45d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/re_com/nested_v_grid.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,7 @@
(cond-> (dec path-ct) (not show-root-headers?) dec))
size (get @row-sizes i)
keypath (get @row-keypaths i)]
:when (or show-root-headers? (pos? i))
:let [props {:part ::row-header
:row-path row-path-prop
:path row-path-prop
Expand Down Expand Up @@ -673,6 +674,7 @@
column-path-prop (cond-> column-path (not show-root-headers?) (subvec 1))
keypath (get @column-keypaths i)]
#_#_:when (not branch-end?)
:when (or show-root-headers? (pos? i))
:let [props {:part ::column-header
:column-path column-path-prop
:path column-path-prop
Expand Down

0 comments on commit 2ac45d5

Please sign in to comment.