or
$("#top3").kendoListView({ dataSource: dataSourceCustomers, template: kendo.template($("#top3template").html())});<script type="text/x-kendo-tmpl" id="top3template" > <div class="top3item"> <dl class="subtitle"> <dt><b>${CustomerName}</b></dt> <dd>${kendo.toString(Value, "c")}</dd> </dl> </div> </script> columns.Bound(r => r.Approved)
.ClientTemplate(" <input type='radio' id='Approve' name='chkApprove' /><input type='radio' id='Deny' name='chkDeny' />")
Title("Approve");
But the radion buttons show up as a single checkbox control. Can anyone help me with this?
<script> $(document).ready(function(){ var dataSource = new kendo.data.DataSource({ transport: { read: { url: '<?= site_url('adwords/admin/getKeywordsDetails') ?>', dataType: "json" }, destroy: { url: '<?= site_url('adwords/admin/deleteKeywordDetail') ?>', dataType: "json", Type: "POST" }, parameterMap: function(options, operation) { if (operation !== "read" && options.models) { return {models: kendo.stringify(options.models)}; } } }, pageSize: 50, autoSync: true, schema: { model: { id: "id", fields: { id: { editable: false, nullable: true }, segment: { type: "string" }, keyword: { type: "string" }, exact_monthly_search_target: { type: "number" }, broad_monthly_search_target: { type: "number" }, exact_competition: { type: "number" }, exact_estimated_avg_cpc: { type: "number" } } } } }); $("#keyword_ideas_result_grid").kendoGrid({ dataSource: dataSource, scrollable: true, sortable: true, filterable: true, serverPaging: true, type: "json", editable: { update: false, destroy: true, confirmation: "Are you sure you want to remove this item?" }, pageable: true, columns: [ { field: "segment", title: "<?= __("Segment") ?>" } , { field: "keyword", title: "<?= __("Keyword") ?>" } , { field: "exact_monthly_search_target", title: "<?= __("Local Exact") ?>" } , { field: "broad_monthly_search_target", title: "<?= __("Local Broad") ?>" } , { field: "exact_competition", title: "<?= __("Competition Exact") ?>" }, { field: "exact_estimated_avg_cpc", title: "<?= __("CPC Exact") ?>" }, { command: "destroy", title: " ", width: 110 } ] }); });</script>// adwords/admin/deleteKeywordDetail var_dump($_GET); var_dump($_POST);var DataSource = new kendo.data.DataSource({ pageSize: 10, transport: { read: "data.php", dataType: "json", } sort: { field: "created", dir: "desc" }, });
$("#list").kendoMobileListView({
dataSource: DataSource,
pullToRefresh: true,
appendOnRefresh: false,
endlessScroll: true,
scrollTreshold: 30, //treshold in pixels
style: "inset",
template: $("#list").text()
});