Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
anuragd7 opened this issue May 18, 2018 · 0 comments
Open

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

anuragd7 opened this issue May 18, 2018 · 0 comments

Comments

@anuragd7
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant