Bug #11527
openWTableView frozen column is not being scrolled
0%
Description
In attached cpp file there is an example how to make frozen column not scrollable with other non-frozen columns.
In this project a shared_ptr of WTableView is created and it has no model set at first (no columns are created). It also has "setRowHeaderCount" set and some maximum height set (its important). If after clicking a button new model with data is set to this WTableView and data height is bigger than max height of a table, then vertical scrollbar appears, but it will not let you scroll a frozen column, it will only let you scroll non-frozen columns.
I found that setting model with columns would help when creating shared_ptr, but in my case I don't know how many columns will be there, I only know that first column will be frozen. (in my project at first WTableView has no data and later different actions set different models to this table).
I also found that recreating shared ptr of WTableView after clicking button helps.
Files
No data to display