【发布时间】:2018-12-21 09:08:00
【问题描述】:
如何在此下拉菜单中允许固定高度? (柱车)
我一直在不停地摆弄以解决高度问题。我想要一个最大 300 像素的固定高度下拉菜单。我在handsontable 网站中使用了AutoRowSize 高度功能和其他高度功能,但似乎都没有用。
我的想法已经用完了。我可以尝试任何建议或替代方案吗?
我正在使用 Handsontable 中的 Handsontable 功能 (Found Here)。
小提琴http://jsfiddle.net/72dgoLva/3/
columns: [
{
type: 'handsontable',
handsontable: {
colHeaders: ['Marque', 'Country', 'Parent company'],
autoColumnSize: true,
data: manufacturerData,
getValue: function() {
var selection = this.getSelectedLast();
// Get always manufacture name of clicked row
return this.getSourceDataAtRow(selection[0]).name;
},
}
},
{type: 'numeric'}
]
【问题讨论】:
标签: javascript jquery css angularjs handsontable