However if I load this tab as the initial table handsontable renders correctly
Using Handsontable 1.1.1. Bootstrap 3.3.5
Example initialisation (in document.ready() )
trial_result_container.handsontable({
startRows : 6,
startCols : num_columns,
colHeaders : column_headers,
/*stretchH: 'all',*/
colWidths: column_widths,
rowHeaders : true,
contextMenu : true,
columns : column_types,
/*filters:true,*/
width: function(){
$('#trial_project_form').width()
},
/*fixedColumnsLeft: num_locked_columns,*/
manualRowResize: true,
manualColumnResize: true,
autoRowSize:false,
/*autoColumnSize: true,*/
/*headerTooltips: true,*//**THROWS ERROR : TH.parentNode is null*/
tableClassName: ['table', 'table-hover', 'table-striped'],
minSpareRows : 20,
afterChange: function (change, source) {
if (source === 'loadData') {
return; //don't save this change
}
if(change[0][2]!=change[0][3]){
//Show save message
unsaved_data = true;
}
},
afterRemoveRow: function (change, source) {
//Show save message
unsaved_data = true;
}
});
https://drive.google.com/open?id=0B9HpJr3WH9u6TUttaFcwN3JpRzQ