This is a migrated thread and some comments may be shown as answers.

Angular Kendo Mobile ListView - ActionSheet

4 Answers 51 Views
Integration with other JS libraries
This is a migrated thread and some comments may be shown as answers.
Gisli
Top achievements
Rank 2
Gisli asked on 05 Aug 2014, 10:44 PM
hi,
I have been trying to use the ActionSheet example with LIstView instead of Grid.

Do you have any example of this? I´d like to see some documentation about how to trigger the actionsheet in a listview or how to handle events, data. etc

4 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 06 Aug 2014, 08:35 AM
Hello,

the following demo uses ActionSheet with a data bound mobile ListView widget.

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Gisli
Top achievements
Rank 2
answered on 06 Aug 2014, 09:26 AM
Hi Petyo,

I had seen this example.. now im trying to make it works with Angular
0
Gisli
Top achievements
Rank 2
answered on 07 Aug 2014, 03:44 PM
I just add this Plunker, open an actionsheet from a listview:

http://plnkr.co/edit/BaVseNKdHKlJFuDoWTya?p=preview

Uncaught TypeError: Cannot read property 'top' of undefined
0
Kiril Nikolov
Telerik team
answered on 08 Aug 2014, 08:03 AM
Hi Gisli,

The problem is that you are passing an incorrect target on the open() method of the ListView. You will need to use the current clicked element as a target, so the actionsheet is correctly positioned. Here is a working example:

http://dojo.telerik.com/Uhuh

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Integration with other JS libraries
Asked by
Gisli
Top achievements
Rank 2
Answers by
Petyo
Telerik team
Gisli
Top achievements
Rank 2
Kiril Nikolov
Telerik team
Share this question
or