Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
边缘浏览器中的SAPUI5 sap.ui.table表格问题:带有按钮的第一列占据第一行,然后其他列进入下一行_Sapui5_Sap Fiori - Fatal编程技术网

边缘浏览器中的SAPUI5 sap.ui.table表格问题:带有按钮的第一列占据第一行,然后其他列进入下一行

边缘浏览器中的SAPUI5 sap.ui.table表格问题:带有按钮的第一列占据第一行,然后其他列进入下一行,sapui5,sap-fiori,Sapui5,Sap Fiori,sap.ui.table用于创建包含列的表。列具有多个控件,并且具有模板。 现在在某些系统的边缘浏览器中,第一列占据了整行。 屏幕上所有可见的行也会发生同样的情况。其余的列作为一行放在一起 这仅在边缘浏览器上发生 我尝试将所有列的宽度更改为“自动”。它不起作用 请帮忙 <mvc:View controllerName="s2s.delivery.create.controller.Worklist" xmlns="sap.m" xmlns:l="sap.ui.layout" xml

sap.ui.table用于创建包含列的表。列具有多个控件,并且具有模板。 现在在某些系统的边缘浏览器中,第一列占据了整行。 屏幕上所有可见的行也会发生同样的情况。其余的列作为一行放在一起

这仅在边缘浏览器上发生

我尝试将所有列的宽度更改为“自动”。它不起作用

请帮忙

<mvc:View controllerName="s2s.delivery.create.controller.Worklist"
    xmlns="sap.m" xmlns:l="sap.ui.layout" xmlns:t="sap.ui.table" xmlns:mvc="sap.ui.core.mvc"
    xmlns:tnt="sap.tnt" xmlns:core="sap.ui.core">
    <Page title="{i18n>panelTitle}">
        <core:Fragment fragmentName="s2s.delivery.create.Fragments.ToolHeaderBar"
            type="XML" />

<t:Table id="table1" rows="{openShipment>/}"
                    selectionMode="None" ariaLabelledBy="title"
                    enableCellFilter="true"
                    filter="filterOrder"
                    fixedColumnCount="1">
                    <t:toolbar>
                    <Toolbar>
                        <ToolbarSpacer />
                        <Button icon="sap-icon://refresh" text = "{i18n>refresh}" press="handleRefresh" type="Emphasized"/>
                    </Toolbar>
                </t:toolbar>
                    <t:columns>

                        <!-- <t:Column width="8rem" hAlign="Center"> -->
                        <t:Column width="auto" hAlign="Center">
                            <Label text="" />
                            <t:template>
                                <Button text="{i18n>Deliver}" type="Emphasized" press="handleDelivery"
                                    icon="sap-icon://shipping-status" />
                            </t:template>
                        </t:Column>

                        <t:Column width="auto" 
                                  filterProperty="OrderNo" 
                                  defaultFilterOperator="StartsWith" 
                                  sortProperty="OrderNo">

                            <Label width="6rem" text="{i18n>original}" />
                            <t:template>
                                <Text text="{openShipment>OrderNo}" />
                            </t:template>
                        </t:Column>

                        <t:Column width="auto" >                                  
                            <Label width="6rem" text="{i18n>Item}" />
                            <t:template>
                                <Text text="{openShipment>ItemsNo}" />
                            </t:template> 
                        </t:Column>
                        <t:Column width="auto" sortProperty="GidateInt">

                            <Label width="6rem" text="{i18n>GIDate}" />
                            <t:template>
                                <Text text="{openShipment>GIDate}" />
                            </t:template>
                        </t:Column>

                        <t:Column width="auto" hAlign="Center">
                            <Label text="{i18n>Status}" />
                            <t:template>
                                <core:Icon src="sap-icon://color-fill"
                                    color="{path:'openShipment>Status', formatter:'.setStatusColor'}" />
                            </t:template>
                        </t:Column>

                        <t:Column width="auto" 
                                  filterProperty="Material" 
                                  defaultFilterOperator="StartsWith" 
                                  sortProperty="Material" >

                            <Label text="{i18n>Material}" />
                            <t:template>
                            <Text text="{openShipment>Material}"/>
                            </t:template>
                        </t:Column>

                        <t:Column width="16rem">
                            <Label text="{i18n>matDesc}" />
                            <t:template>
                            <Text text="{openShipment>MaterialDesc}"/>
                            </t:template>
                        </t:Column>

                        <t:Column width="auto" hAlign="Center">
                            <Label text="{i18n>OrdQty}" />
                            <t:template>
                                <ObjectNumber number="{path:'openShipment>OrderQty', formatter:'.displayDecimal'}" numberUnit="{openShipment>OrderQtyUnit}" />
                            </t:template>
                        </t:Column>
                        <t:Column width="6rem" hAlign="Center">
                            <Label text="{i18n>AvalQty}" />
                            <t:template>
                                <ObjectNumber number="{path:'openShipment>AvailQty', formatter:'.displayDecimal'} " numberUnit="{openShipment>AvailQtyUnit}" />

                            </t:template>
                        </t:Column>
                        <t:Column width="auto" hAlign="Center">
                            <Label text="{i18n>ShipPoint}" />
                            <t:template>
                                <Text text="{openShipment>ShippingPoint}" />
                            </t:template>
                        </t:Column>
                        <t:Column width="auto" hAlign="Center">
                            <Label text="{i18n>PrevWork}" />
                            <t:template>
                                <Text text="{openShipment>PrevWorkCenter}" />
                            </t:template>
                        </t:Column>
                        <t:Column width="16rem" hAlign="Center" 
                                  filterProperty="CustomerName" 
                                  defaultFilterOperator="Contains" 
                                  sortProperty="CustomerName">

                            <Label text="{i18n>CustName}" />
                            <t:template>
                                <Text text="{openShipment>CustomerName}" />
                            </t:template>
                        </t:Column>

                        <t:Column width="auto" hAlign="Center">
                            <Label text="{i18n>Country}" />
                            <t:template>
                                <Text text="{openShipment>Country}" />
                            </t:template>
                        </t:Column>
                        <t:Column width="auto" hAlign="Center">
                            <Label text="{i18n>DocType}" />
                            <t:template>
                                <Text text="{openShipment>DocTypeDesc}" />
                            </t:template>
                        </t:Column>
                        <t:Column width="auto" hAlign="Center"
                                  filterProperty="Zzaufnr" 
                                  defaultFilterOperator="StartsWith" 
                                  sortProperty="Zzaufnr">

                            <Label text="{i18n>ProdOrder}" />
                            <t:template>
                                <Text text="{openShipment>Zzaufnr}" />
                            </t:template>
                        </t:Column>
                        <t:Column width="auto" hAlign="Center">
                            <Label text="{i18n>ProdStatus}" />
                            <t:template>
                                <Text text="{openShipment>Zzstat}" />
                            </t:template>
                        </t:Column>
                        <t:Column width="auto" hAlign="Center">
                            <Label text="{i18n>packMaterial}" />
                            <t:template>
                                <Text text="{openShipment>PackingMaterial}" />
                            </t:template>
                        </t:Column>
                        <t:Column width="auto" hAlign="Center">
                            <Label text="{i18n>packSpec}" />
                            <t:template>
                                <Text text="{openShipment>ZzpackagingSpec}" />
                            </t:template>
                        </t:Column>
                        <t:Column width="auto" hAlign="Center">
                            <Label text="{i18n>cutCham}" />
                            <t:template>
                                <Text text="{openShipment>Zztext}" />
                            </t:template>
                        </t:Column>



                        <t:Column width="auto" hAlign="Center">
                            <Label text="{i18n>Operation}" />
                            <t:template>
                                <Text text="{openShipment>Zzvornr} - {openShipment>Zzltxa1}" />
                            </t:template>
                        </t:Column>

                    </t:columns>
                </t:Table>
    </Page>
</mvc:View>


您是否检查了使用edge browser的ui5示例网站上的ui.table是否也会发生这种情况?当我亲自检查时,我没有发现任何问题。我还看到,您正在使用旧的不推荐的东西,如t:toolbar。然后使用fixedColumnCount=1和width=auto。。。我不确定我的汽车是否能用它——我不这么认为。我建议清理你的代码,删除代码中的一些东西,比如尝试和出错,直到一切看起来都很好,你发现了发生的原因。我只是想让你知道UI5:“SAPUI5 1.71之后的下一个稳定的SAPUI5版本将是支持Microsoft Edge(EdgeHTML)的最后一个SAPUI5版本。”。由于微软自己放弃了传统的边缘,我主张在你们的组织中转移到新的边缘。