-2

可以选择性地检索两个不同的值​​​​ 名字还是号码?例如 Maria Anders = 文本值和 1234 = 数值

{
    "CustomerID": "ALFKI",
    "ContactName": "Maria Anders", // selectively 
    "PersonalNumber": "1234", // selectively 
    "CompanyName": "Alfreds Futterkiste"
}
4

1 回答 1

0

所以,我通过剑道用户界面论坛得到了答案......解决方案是......

{
    "CustomerID": "ALFKI",
    "ContactName": "Maria Anders", 
    "PersonalNumber": "1234",
    "CompositeField": "Maria Anders 1234"
    "CompanyName": "Alfreds Futterkiste",
}


    $("#customers").kendoMultiSelect({
     ...
     dataTextField: "CompositeField",
     filter: "contains",
     ...
     });
于 2013-04-30T11:12:15.523 回答