我有一个用于添加/编辑的kendo弹出模板.我需要在该模板的列表视图中显示带有复选框的产品列表.我找到了此链接以创建复选框的列表视图.我如何在另一个模板中使用它.
HTML
<script type="text/x-kendo-tmpl" id="myTemplate">
<div class="item click" value="#=ProductID#" data-bind="checked: isSelected">
<input type="checkbox" class="click" />
<span class="checkbox">#:ProductName#</span>
</div>
</script>
<!-- Kendo popup editor template -->
<script id="popup_editor" type="text/x-kendo-template">
<div style="width:700px">
<div style=" margin-left:100px">
<label for="Product">Products </label>
<div id="listView" class="k-listview" style="width:150px;height:250px;overflow-y:scroll;margin-top:10px">
</div>
</div>
</div>
</script>
Run Code Online (Sandbox Code Playgroud)
脚本
$scope.productddlDataSource = new kendo.data.DataSource({
type: "json",
transport: {
read: "api/product"
}
});
$("#listView").kendoListView({
dataSource: $scope.productddlDataSource,
template: kendo.template($("#myTemplate").html())
});
//KENDO UI POP_UP
$scope.gridOptions = {
dataSource: $scope.data,
sortable: true,
filterable: true,
scrollable: false, …Run Code Online (Sandbox Code Playgroud) 我在网页中使用 power-bi 嵌入式报告。该报告有多个页面。我需要根据下拉选择设置默认页面。是否有任何查询字符串参数可以用于此目的?
提前致谢。