Skip to Content
0
Sep 28, 2018 at 10:42 AM

Grouping Option not showing smart table

546 Views

Hi,

Please guide if Grouping not showing in smart table .

How to check my annotation file or service support this.

Xml View Code

<smartTable:SmartTable id="smartTable" smartFilterId="smartFilterBar" entitySet="PRHeaderSet" tableType="TreeTable" dataReceived="dataRecieved" useTablePersonalisation="true" showRowCount="false" enableAutoBinding="true" beforeRebindTable="onBeforeRebindTable" persistencyKey="SmartTablePKey" ignoredFields="Wvdvrelevant,WvdvonOffCampus,WvdvDispFlag,PlantId,PartNo,GlobusTemplate,StatusValue,TotalCountPR,SuppAddress,ItemTypeDescription,ExcelDownload,ItemDesc,ItemNo,TopValue,Selected,PrId,SearchTerm,LockInd,SourceRelInd,ReqUserid,BuyerId,ExpCompletionDate,ReqImage,BuyerImage,DeliveryDate,SupplierFirstName,SupplierQuotationNo,RejReason,TechId,SupplierLastName,TechFname,TechLastname,SupplierCountryDesc,TechEmail,SupplierHouseNo,TechPhone,ExpDateFlag,FinalDelivDateFlag,SupplierStreet,SupplierFlag,SupplierEmail,Currency,ProcGroup,Guid,ReqFirstName,ReqName,Hdrchanged,ReqPhone,PrId,ReqEmail,ReqDepartment,OverdueFlag,CommodityFlag,LogicalSystem,BuyerFirstName,VendorNo,BuyerLastName,VendorGuid,BuyerMobile,BuyerPhone,BuyerEmail,SupplierCity,SupplierPostalCode,SupplierCountry,SupplierPhoneNo,TotalValCurrency,ShowHdrStatus,TechImage,ParentId,Level,DrilldownState,ReqMobile,BuyerPlant,SupplierState,TechPersnMob,Url,ReqName,ShowHdrStatus,LogSys,SupplierFirstName,TechBuyerId,DisplayAccess,SuppQtNoDate"> <table:TreeTable id="prTreeTable" threshold="20" visibleRowCount="20" > <table:columns> <table:Column label="{i18n>xtxt.filterPrType}" width="175px" sortProperty="GlobusProcessType"> <table:customData> <core:CustomData key="p13nData" value='\{"columnKey": "GlobusProcessType", "maxLength": "10","columnIndex":"1", "filterProperty": "GlobusProcessType", "sortProperty": "GlobusProcessType", "leadingProperty": "GlobusProcessType","additionalProperty": "ItemTypeDescription"}'/> </table:customData> <table:template> <Text text="{path:'ItemTypeDescription'}"></Text> </table:template> </table:Column> <table:Column label="{i18n>xtxt.filterTitle}" width="250px" sortProperty="Description"> <table:customData> <core:CustomData key="p13nData" value='\{"columnKey": "Description", "maxLength": "40","columnIndex":"3", "filterProperty": "Description", "sortProperty": "Description", "leadingProperty": "Description"}'/> </table:customData> <table:template> <Text text="{Description}"></Text> </table:template> </table:Column> <table:Column label="{i18n>xhed.resBuyer}" width="185px" sortProperty="Buyer"> <table:customData> <core:CustomData key="p13nData" value='\{"columnKey": "Buyer", "maxLength": "10","columnIndex":"4", "filterProperty": "Buyer", "sortProperty": "Buyer", "leadingProperty": "Buyer"}'/> </table:customData> <table:template> <Text text="{Buyer}"></Text> </table:template> </table:Column> <table:Column label="{i18n>xtxt.supplier}" width="187px" sortProperty="SupplierName"> <table:customData> <core:CustomData key="p13nData" value='\{"columnKey": "SupplierName", "maxLength": "40","columnIndex":"5", "filterProperty": "SupplierName", "sortProperty": "SupplierName", "leadingProperty": "SupplierName"}'/> </table:customData> <table:template> <Text text="{SupplierName}"></Text> </table:template> </table:Column> <table:Column label="{i18n>xtxt.totVal}" width="150px" hAlign="End" sortProperty="TotalValue"> <table:customData> <core:CustomData key="p13nData" value='\{"columnKey": "TotalValue", "maxLength": "40","columnIndex":"6", "filterProperty": "TotalValue", "sortProperty": "TotalValue", "leadingProperty": "TotalValue", "additionalProperty": "Currency"}'/> </table:customData> <table:template> <ObjectNumber number="{parts:[{path:'TotalValue'},{path:'Currency'}], type: 'sap.ui.model.type.Currency', formatOptions: {showMeasure: false}}" unit="{Currency}" textAlign="End"/> </table:template> </table:Column> <table:Column label="{i18n>xcol.reqDept}" visible="false" width="180px" sortProperty="ReqDept"> <table:customData> <core:CustomData key="p13nData" value='\{"columnKey": "ReqDept", "maxLength": "10", "filterProperty": "ReqDept", "sortProperty": "ReqDept", "leadingProperty": "ReqDept"}'/> </table:customData> <table:template> <Text text="{ReqDept}"></Text> </table:template> </table:Column> </table:columns> </table:TreeTable> </smartTable:Sma

Attachments