jquery - dxForm 内的 dxList 未提交 - devextreme jquery 小部件
问题描述
在 dxList 中提交 dxForm,dxList 字段未提交(其他类型的字段是)。
是 dxForm 的限制还是我做错了什么
$("#form").dxForm({
formData: formFields,
readOnly: false,
showColonAfterLabel: true,
labelLocation: "top",
minColWidth: 300,
colCount: 1,
items: [
{
itemType: "group",
colCount: 3,
items: [
{
dataField: "myField",
editorType: "dxList",
editorOptions: {
dataSource: new DevExpress.data.DataSource({
store: new DevExpress.data.ArrayStore({
key: "ID",
data: tipoPra
})
}),
itemTemplate: function (data) {
return $("<div>").text(data.ID + ' ' + data.Description);
},
showSelectionControls: true,
selectionMode: "all",
height: 400
}
}
]
}
解决方案
推荐阅读
- c# - 获取总是返回 null
- python - 如何在's'路径中解开numpy数组?
- python - 如何在 ruby 中进行图像处理?Ruby 中没有 OpenCv?
- javascript - 单击按钮时,按 ID 转到下一个问题
- java - 带有敏感信息的spring boot外部配置不起作用
- go - 从 float64 获取 Alpha 值
- python - 如何使用矩阵分解推荐系统为项目获得推荐用户?
- python-3.x - 为什么即使在 python 中进行垃圾收集后我也能够访问元素?
- jquery - 通过单击Angularjs中带有ID按钮的按钮来隐藏和显示表单
- php - 我在 php 中有一些代码,并且在该代码的标题中我想提供我的 ionic 应用程序页面的链接