Servoy / servoy-extra-components

NGClient component package of all kinds of 'extra' components
MIT License
6 stars 10 forks source link

servoyextra-table display issue #20

Open derkh opened 7 years ago

derkh commented 7 years ago

Hi, When first time opening a form with the table component everything looks fine. When I switch page and then go back to the page with the table component it does not display full width.

First time dispaly the width is 1000px. Second time it is around 90 px. When I resize the browser clientwidth en height. It is rendering again, but not displaying the columns width and table width as definded in developer.

using v 1.1.3 in 8.1.3.rc

gboros commented 7 years ago

I can't reproduce this, I tried different scenarios, setting the columns resizable, anchoring the table ... Do you have a sample to reproduce the issue ?

sbutlerjr commented 6 years ago

I get this same issue when I have the component inside of a bootstrap collapse. When it first shows, the width doesn't size appropriately. On window resize, it works. In my use case, I have a form with the table on it. Then I have that form shown through a tabless panel. To work-around this issue, I'm dong this...

$('data-bootstrapcomponents-tablesspanel').on('show.bs.collapse', '#collapse_elem_id', function (e) {
    $(window).trigger('resize');
})
paronne commented 6 years ago

Hi, Have you tried to set the autoResize property of the columns to true ?

costescuandrei commented 6 years ago

Reminder: sample is still needed for this issue - as Gabi said he could not reproduce it.