SAPUI5 TableSelectDialog multiselect:单击某个列时不要选择

时间:2017-11-23 08:58:53

标签: javascript jquery dialog sapui5 carousel

我在tableSelectDialog zith中启用了多个选项的旋转木马。

问题是,当我点击旋转木马导航箭头时,该行也会在未被选中时被选中或反之亦然

<TableSelectDialog
    noDataText="No Products Found"
    title="Select Product"
    confirm="handleClose"
    cancel="handleClose"
    items="{
        path : '/Garbage',
        parameters:{expand : 'Pictures'},
        filters : [{
            path : 'AssignedTruck',
            operator: 'EQ',
            value1 : ''
        }]}">
    <ColumnListItem>
        <cells>
            <ObjectIdentifier
                title="{Type}"
                text="{Description}" />
            <Text text="{Location}" />
            <VBox class="sapMLIBNotSelected sapMLIBNotActionable">
                <Carousel pages="{Pictures}" height="5em" loop="true" showPageIndicator="false">
                    <Image src="{PictureBlob}" alt="Example picture of speakers"/>
                </Carousel>
            </VBox>
        </cells>
    </ColumnListItem>
    <columns>
        <Column width="auto">
            <header>
                <Text text="Afval" />
            </header>
        </Column>
        <Column width="auto">
            <header>
                <Text text="Locatie" />
            </header>
        </Column>
        <Column width="auto" minScreenWidth="Tablet" demandPopin="true">
            <header>
                <Text text="" />
            </header>
        </Column>
    </columns>
</TableSelectDialog>

问题在于(在tableSelectDialog中):

<Carousel pages="{Pictures}" height="5em" loop="true" showPageIndicator="false">
                <Image src="{PictureBlob}" alt="Example picture of speakers"/>
            </Carousel>

单击旋转木马栏时以任何方式禁用取消(选择)?

谢谢!

0 个答案:

没有答案