hello
I’m getting all the information in the grid
but does not come DropDownList’s id only label

var invoiceItemsData = GetInvoiceItems(); // invoiceItems.js
var dropDownListSource =
{
localdata: invoiceItemsData,
datatype: "json",
datafields: [
{ name: 'InvoiceItemID' },
{ name: 'Name' }
],
id: 'InvoiceItemID'
};
var dropdownListAdapter = new $.jqx.dataAdapter(dropDownListSource, { autoBind: true, async: false });
grid
datafields: [
{ name: 'InvoiceItemID', values: { source: dropdownListAdapter, value: 'InvoiceItemID', name: 'Name' } },
{ name: 'Amount', type: 'float' },
{ name: 'VAT', type: 'number' },
{ name: 'Total', type: 'number' }
],
columns: [
{
text: "Invoice Item", width: '40%', datafield: "InvoiceItemID", columntype: 'dropdownlist', createeditor: function (row, column, editor) {
editor.jqxDropDownList({ source: dropdownListAdapter, displayMember: "Name", valueMember: "InvoiceItemID", promptText: "Please Select Item:" });
},