Sapui5 如何在sap.ui.table.table中分组
我想根据sap.ui.table.table中的属性对表中的行进行分组 我试着使用sap.m.表格中的方法。 但它不起作用Sapui5 如何在sap.ui.table.table中分组,sapui5,Sapui5,我想根据sap.ui.table.table中的属性对表中的行进行分组 我试着使用sap.m.表格中的方法。 但它不起作用 <ui:Table rows="{ path : '/EtyVacStockItmSet', sorter : { path : 'FacilityType', group : true }}" selectionMode="Single" aria
<ui:Table rows="{
path : '/EtyVacStockItmSet',
sorter : {
path : 'FacilityType',
group : true
}}" selectionMode="Single" ariaLabelledBy="title" id="productsTable">
我认为不可能像sap.m.table那样使用sap.ui.table.table..但是我们可以通过添加列菜单来添加分组以进行排序…请参阅
我认为不可能像sap.m.table那样使用sap.ui.table.table..但是我们可以通过添加用于排序的列菜单来添加分组…请参阅
您是否启用了数据sap ui xx bindingSyntax=“complex”?我没有index.html。。如何在manifest.json中执行此操作您拥有sap.ui.table.table。它有不同的应用分拣机的方式。您所做的工作适用于sap.m.Table。您是否启用了
数据sap ui xx bindingSyntax=“complex”
?我没有index.html。。如何在manifest.json中执行此操作您拥有sap.ui.table.table。它有不同的应用分拣机的方式。您所做的工作适用于sap.m.Table。
var oTable = new sap.ui.table.Table({
visibleRowCount: 10,enableGrouping:true,
rows:"{/rows}",
columns:[
new sap.ui.table.Column({
label: "firstName",
template: "firstName",
//sorted:true,sortProperty:"department",grouped:true
}),
new sap.ui.table.Column({
label: "lastName",
template: "lastName",
// sorted:true,sortProperty:"department",grouped:true
}),
new sap.ui.table.Column({
label: "department",
template: "department",
sorted:true,sortProperty:"department",//grouped:true
})
]
});