I have a portable object (actually two objects, as in a boot modal) that have data loaded after the page is built. Here's a jsfiddle that duplicates the issue https://jsfiddle.net/mtbdeano/w7dofbyy/
Tables are too narrow, even with stretchH: all . As soon as I click on the content, they change like magic to the desired column width. Is the initialization parameter missing? How can I get the size to the correct width after loading new data?
$('#keyword_table').handsontable({ data: keyword_data, rowHeaders: true, colHeaders: ['Keywords'], columnSorting: true, contextMenu: true, height: 256, stretchH: "last", enterBeginsEditing: false, minSpareRows: 1 });
I load data using this code, which is called when ajax is successful:
function load_table_from_ajax(tbl, data) { var $tbl = $(tbl); var hot = $tbl.handsontable('getInstance');
All code looks correct according to tutorials, any idea why the table doesn't stretch / resize correctly?
Before interacting with Handsontable, it looks like this:
but after clicking on the title or adding a value: 
Deano source share