Skip to content

IOS- RadlistView ItemSelect event does not work inside <slide> #60

@anuragd7

Description

@anuragd7

Hi
I am trying to embed a radlistview in one of the slides. I find that the itemSelected() event does not work on the radlistview inside of the slide. My code is as follows:

<slide>
    <GridLayout marginTop="15%" height="30%">
        <RadListView ios:minHeight="100%" #radlist [items]="options" selectionBehavior="Press" multipleSelection="true" (itemSelected)="onOptionSelected($event)" (itemDeselected)="onOptionDeselected($event)">
            <ng-template tkListItemTemplate let-item="item">
                <StackLayout class="profile-grid left-margin-10 right-margin-10" [ngClass]="{ 'box-selected': item.selected}" verticalAlignment="center">
                    <Label [text]="item.image" class='icomoon1 icon font-profile-icon' [ngClass]="{ 'box-text-selected': item.selected}"></Label>
                    <Label class="abel font-profile-text" [ngClass]="{ 'box-text-selected': item.selected}" textWrap="true" [text]="item.optionName" textAlignment="center"></Label>
                </StackLayout>
            </ng-template>
            <ListViewGridLayout tkListViewLayout scrollDirection="Vertical" ios:itemHeight="100%" spanCount="5"></ListViewGridLayout>
        </RadListView>
    </GridLayout>
    </slide>

I am using tns version 3.4.2.
Any suggestions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions