properties - KendoUI DropDown list - Add custom data fields -


Currently, I can only store 'DataTextfield' and 'Data Validated' in the Condo dropdown list, but I must be enabled To store more values ​​for each item in the list.

I populate the dropdown with JSON data, there are multiple properties for each index in the array in the JSON array.

Ways to add more value (such as 'dataCustomField1', 'dataCustomField2', 'dataCustomField3') for drop down items

I got the solution

  var dropdown = $ ("# ddList"). Data ("canodoadupundownlast"); Var ddData = dropDown.dataSource.view () [dropDown.select ()];   

The DDData contains all the JSONs of the selected items in the drop down.

Comments

Popular posts from this blog

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -