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

Phonegap + Grid Column template button will not work

1 Answer 85 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Gregor
Top achievements
Rank 1
Gregor asked on 13 Mar 2012, 11:14 AM
Hi There.
I´m testing with phonegap and kendo ui gendogrid. i have bild a grid with a button template. in a normal explorer the button work but if i compile it with phonegap the grid is displayed but the buttons an not clickable.
any suggestions ?

Here my sample :
 $("#grid").kendoGrid({
            columns: [{ field: "Name", title: "Name", template: '<input type=\'button\' value=#=Name# onclick =\'Index.Data.downloadFile(\"#=id#\",\"#=Name#\")\'/>' }, { field: "ChangedDate", title: "geaendert", format: "{0:dd/MMMM/yyyy}"}],
            schema: { model: {
                id: "id",
                fields: {
                    Name: { editable: false, type: "string" },
                    ChangedDate: { editable: false, type: "string"}
                }
            }
            }
        });

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 15 Mar 2012, 06:01 PM
Hi,

When you develop for a mobile platform, you should use the touch DOM events. 

All the best,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Gregor
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or