Open derkh opened 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 ?
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');
})
Hi, Have you tried to set the autoResize property of the columns to true ?
Reminder: sample is still needed for this issue - as Gabi said he could not reproduce it.
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