or
<script> $(document).ready(function () { var genderCollection = [{ description: "Guy", value: "Male" }, { description: "Girl", value: "Female"}]; var genderElement = $("#gender"); $(genderElement).width(($("#fname").width() + 2)); $(genderElement).css("margin-left", "-2px"); $("#gender").kendoComboBox({ dataValueField: "value", dataTextField: "description" }); var viewModel = kendo.observable({ firstName: "John", lastName: "Doe", genders: genderCollection, gender: "Male", agreed: false, confirmed: false, register: function (e) { e.preventDefault(); this.set("confirmed", true); }, startOver: function () { this.set("confirmed", false); this.set("agreed", false); this.set("gender", "Male"); this.set("firstName", "John"); this.set("lastName", "Doe"); } }); kendo.bind($("#example"), viewModel); }); </script>$("#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);