07-13-2021, 09:52 PM
This problem ha bee an headache for quite some time.
My guess is, we live the default TableLayoutWdg calculation, than each custom layout has a bvr to customize it.
The problem is I cannot find a good way to get the element object, I need something like:
var child = bvr.src_el.getChildbyClass(".spt_table_horizontal_scroll");
child.setStyle("height", "calc(100vh - XXXpx)");
unfortunately the getChildbyClass does not exists.
another idea could be to add an "table_horizontal_scroll_id" kwargs for TableLayoutWdg thats ad an id to the h_scroll widget so we can than use getElementById()
My guess is, we live the default TableLayoutWdg calculation, than each custom layout has a bvr to customize it.
The problem is I cannot find a good way to get the element object, I need something like:
var child = bvr.src_el.getChildbyClass(".spt_table_horizontal_scroll");
child.setStyle("height", "calc(100vh - XXXpx)");
unfortunately the getChildbyClass does not exists.
another idea could be to add an "table_horizontal_scroll_id" kwargs for TableLayoutWdg thats ad an id to the h_scroll widget so we can than use getElementById()