MegatenFreak Active Member Licensed User May 29, 2022 #1 Hi. I'm looking for a way to show a table without the header row. (I'm stuck with the old TableView and can't switch to B4XTable for now) Details: It's for a second table that I want to attach to the bottom of another one. (I can't join them since the top one is scrollable with 50 rows but the bottom one is fixed) Please look at the image attached. I want to separate the top part so instead of 10 there would be 50 rows (scrollable), but the bottom part should stay fixed where it is. Any alternatives would also be appreciated. Thanks a lot in advance. Attachments Untitled.png 33.5 KB · Views: 473
Hi. I'm looking for a way to show a table without the header row. (I'm stuck with the old TableView and can't switch to B4XTable for now) Details: It's for a second table that I want to attach to the bottom of another one. (I can't join them since the top one is scrollable with 50 rows but the bottom one is fixed) Please look at the image attached. I want to separate the top part so instead of 10 there would be 50 rows (scrollable), but the bottom part should stay fixed where it is. Any alternatives would also be appreciated. Thanks a lot in advance.
MegatenFreak Active Member Licensed User May 29, 2022 #2 I found the solution. Apparently my web searching skills had failed me before! Using CSS, define a class: .noheader .column-header-background { -fx-max-height: 0; -fx-pref-height: 0; -fx-min-height: 0; } Then add it to the tableview: Code: TV.StyleClasses.Add("noheader") Upvote 0
I found the solution. Apparently my web searching skills had failed me before! Using CSS, define a class: .noheader .column-header-background { -fx-max-height: 0; -fx-pref-height: 0; -fx-min-height: 0; } Then add it to the tableview: Code: TV.StyleClasses.Add("noheader")