sap.m.Table 中是否有多个标头,例如 sap.ui.table.Table
is there multiple header in sap.m.Table like sap.ui.table.Table?
var otable = new sap.m.Table();//here table is created
//here multiple header I'm trying to create this can happen in sap.ui.table.Table but I want some thin in sap.m.Table
var oColumns = new sap.m.Column({
multiLabels: [
new sap.m.Label({//here is main header
text: "Input",
textAlign: "Center"
}),//here is sub header as input one
new Button({
text: "Input1"
})
]
});
在 sap.m.Table 中创建多级标题列是否有一些想法
sap.m.Column 不支持控件列表,但是您可以将布局控件添加为标头以在标头中包含多个控件:
var oTable = new sap.m.Table({
columns: [
new sap.m.Column({
header: new sap.m.VBox({
new sap.m.Label({
text: "Input",
textAlign: sap.ui.core.TextAlign.Center
}),
new Button({
text: "Input1"
})
})
})
]
});
相关文章:
- Jquery - table.row(tr) is undefined
- 如何在sap.m.Image元素上创建可点击区域
- javascript, ajax, table, colour
- jQuery parent() in table
- click-cell.bs.table是如何工作的
- onclick for table TD
- AppendChild Form / Table [Javascript/Html/PHP]
- 可以将模型传播到组件,但不能传播到sap.ui.jsfragment
- Javascript: Output table
- onRowClick for react-bootstrap-table
- 打开 UI5 sap-ui-core.js无法加载资源
- Google Fusion Table Javascript UPDATE Query?
- jquery .删除整个 li 或 table 元素后
- JQuery Click on Table
- 使用 sap.ui.table.Table 就像 PowerPivot 表一样
- sap.m.Table 中是否有多个标头,例如 sap.ui.table.Table
- sap.m.Table:如何滚动到给定的列表项
- 在sap.ui.table中冻结柱
- 扩展sap.m.Table中的事件未触发
- u5中的sap.ui.table.Table中的Auto选项卡