智能表选择至少一列

loading...


0

我有一个响应良好的智能表,当我选择其他字段时表现良好,但我仍然看到消息“没有为您的表选择列 . 在执行搜索之前,请确保至少有一列是变得可见 . “当我搜索id“12345”时,它将导航到正确的路径并按预期显示列 .

但是为什么弹出的错误信息无法找到原因 .

view.xml用

<smartTable:SmartTable id="BomTable" entitySet="/ProductHead2BOMSet" smartFilterId="smartFilterBar" tableType="ResponsiveTable" useExportToExcel="true" beforeExport="onBeforeExport" useVariantManagement="false" useTablePersonalisation="true" header="Bom Components" showRowCount="true" persistencyKey="SmartTableAnalytical_Explored" enableAutoBinding="true" demandPopin="true" class="sapUiResponsiveContentPadding">

                            <Table id="BoM" class="sapUiResponsiveMargin" width="auto"
            items="{path:'oModelBoM>/'}" updateFinished="_onTableUpdateFinished " growing="true" >

    <columns>
  <Column width="8%">
    <Label text="{i18n>LIST_ItemCateg}" />
  </Column>
  <Column>
    <Label text="{i18n>LIST_ItemCategDescription}" />
  </Column>
   <Column>
    <Label text="{i18n>LIST_ItemNo}" />
  </Column>
   <Column>
    <Label text="{i18n>LIST_Component}" />
  </Column>
   <Column>
    <Label text="{i18n>LIST_CompQty}" />
  </Column>
   <Column>
    <Label text="{i18n>LIST_CompUnit}" />
  </Column>
   <Column>
    <Label text="{i18n>LIST_ItemText1}" />
  </Column>
   <Column>
    <Label text="{i18n>LIST_Pproc}" />
  </Column>
   <Column>
    <Label text="{i18n>LIST_LifeCycleState}" />
  </Column>
   <Column>
    <Label text="{i18n>LIST_ProductCategory}" />
  </Column>
   <Column>
    <Label text="{i18n>LIST_StockCategory}" />
  </Column>
   <Column>
    <Label text="{i18n>LIST_Itemtype}" />
  </Column>
   <Column width="8%">
    <Label text="{i18n>LIST_ItemtypeDescription}" />
  </Column>
   <Column>
    <Label text="{i18n>LIST_ProductFamily}" />
  </Column>
   <Column>
    <Label text="{i18n>LIST_CostingRelevanceFlag}" />
  </Column>
   <Column>
    <Label text="{i18n>LIST_Iccode}" />
  </Column>
</columns>
<items>
  <ColumnListItem>
  <cells>
 <Text text="{oModelBoM>ItemCateg}" />
 <Text text="{oModelBoM>ItemCategDescription}" />
 <Text text="{oModelBoM>ItemNo}" />
 <Text text="{oModelBoM>Component}" />
 <Text text="{oModelBoM>CompQty}" />
 <Text text="{oModelBoM>CompUnit}" />
 <Text text="{oModelBoM>ItemText1}" />
 <Text text="{oModelBoM>Pproc}" />
 <Text text="{oModelBoM>LifeCycleState}" />
 <Text text="{oModelBoM>ProductCategory}" />
 <Text text="{oModelBoM>StockCategory}" />
 <Text text="{oModelBoM>Itemtype}" />
 <Text text="{oModelBoM>ItemtypeDescription}" />
 <Text text="{oModelBoM>ProductFamily}" />
 <Text text="{oModelBoM>CostingRelevanceFlag}" />
 <Text text="{oModelBoM>Iccode}" />
 </cells>    
  </ColumnListItem>
</items>

</Table>

我在哪里做错了?

BR .

loading...

0回答

No Data

评论

暂时没有评论!