Hi Telerik,
i have a databound grid and Actionsheet on it. I need to know the context (id) of the grid row and then proceed the action.
Basically I need a grid version of http://demos.telerik.com/kendo-ui/actionsheet/angular.
Probably I need to use the k-actionsheet-context. But how?
Regards,
Ladislav
i have a databound grid and Actionsheet on it. I need to know the context (id) of the grid row and then proceed the action.
Basically I need a grid version of http://demos.telerik.com/kendo-ui/actionsheet/angular.
Probably I need to use the k-actionsheet-context. But how?
Regards,
Ladislav
7 Answers, 1 is accepted
0
Hi,
the following demo does something similar to what you describe. You can also use the context attribute to provide additional data.
Regards,
Petyo
Telerik
the following demo does something similar to what you describe. You can also use the context attribute to provide additional data.
Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ladislav
Top achievements
Rank 1
answered on 28 Jan 2015, 12:40 PM
Hi,
I saw the demo. It uses static data. I need a demo with bound data.
Regards,
Ladislav
I saw the demo. It uses static data. I need a demo with bound data.
Regards,
Ladislav
0
Hello,
I am afraid that we don't have such demo available. However, the data-bound mode makes no difference for the Actionsheet widget, so this should not change the case too much.
Regards,
Petyo
Telerik
I am afraid that we don't have such demo available. However, the data-bound mode makes no difference for the Actionsheet widget, so this should not change the case too much.
Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ladislav
Top achievements
Rank 1
answered on 30 Jan 2015, 08:49 AM
Hi Petyo,
this issue is a general telerik problem. You have some demos, some documentation some getting started. But if I don't find answer there I hitting a wall again and again.
If it makes no big difference, please show us the solution.
The only question is how to set the k-actionsheet-context="{{dataItem.ID}}" in Grid.
Regards,
Ladislav
this issue is a general telerik problem. You have some demos, some documentation some getting started. But if I don't find answer there I hitting a wall again and again.
If it makes no big difference, please show us the solution.
The only question is how to set the k-actionsheet-context="{{dataItem.ID}}" in Grid.
Regards,
Ladislav
0
Hello Ladislav,
The only question is how to set the k-actionsheet-context="{{dataItem.ID}}" in Grid.
You may use column.template to insert mobile button with k-actionsheet-context attribute that will open the ActionSheet widget.
Alternatively you may insert other widget/HTML element hook up to its click event and call the open method of the ActionSheet widget. You may pass the context as a parameter of the open method.
Regards,
Alexander Valchev
Telerik
The only question is how to set the k-actionsheet-context="{{dataItem.ID}}" in Grid.
You may use column.template to insert mobile button with k-actionsheet-context attribute that will open the ActionSheet widget.
Alternatively you may insert other widget/HTML element hook up to its click event and call the open method of the ActionSheet widget. You may pass the context as a parameter of the open method.
Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ladislav
Top achievements
Rank 1
answered on 03 Feb 2015, 09:47 AM
Hi Alexander,
it is probably possible. I think the more natural and what our customers demand is the invocation through simple click/touch.
Please provide us a databound version of http://demos.telerik.com/kendo-ui/actionsheet/adaptive
Regards,
Ladislav
it is probably possible. I think the more natural and what our customers demand is the invocation through simple click/touch.
Please provide us a databound version of http://demos.telerik.com/kendo-ui/actionsheet/adaptive
Regards,
Ladislav
0
Hi Ladislav,
Here you are: http://dojo.telerik.com/@valchev/omoYi
Regards,
Alexander Valchev
Telerik
Here you are: http://dojo.telerik.com/@valchev/omoYi
Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!