Hello all) The task looked pretty easy - to get FlexTable's width and set this width to ScrollPanel to get rid of horizontal scrollbar - until I figured out that any method like table.getElement().getClientWidth() returns only 0.
Maybe smth wrong with the way I do it - I create table, fill it with data then call int tableHeight = table.getElement().getClientWidth(); and this int is 0 despite the table itself looks normal in browser and its width 310 px.
Thanks a lot for any help.