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

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -