2016-02-12 60 views

回答

0

您必须引用分类中的字段,在小部件初始化中定义您的列时。您引用的是“类别”,但您需要引用“类别。类别名称”。
所以在你的道场例如,更改此:

{ field: "Category", title: "Category", width: "180px", editor: categoryDropDownEditor, template: "#=Category.CategoryName#" }, 

这样:

{ field: "Category.CategoryName", title: "Category", width: "180px", editor: categoryDropDownEditor, template: "#=Category.CategoryName#" }, 

,你应该是好去!

+0

谢谢。工作很棒。我没注意到.. –

相关问题