1
我試圖創建一個電子表格,其中每列的寬度都很小,但在設置中同時設置colWidths
和autoColumnResize
似乎會否定自動列的大小調整。使用Handsontable,如何在啓用AutoColumnSize的同時給出固定寬度?
var hot = new Handsontable(container,{
data: data,
colWidths:100,
autoColumnResize:true // negated by the colWidths setting
});
如果我刪除了colWidths設置,那麼該列的調整就會很好。