Topic: Table Editor unable to configure options for inputType select
Manuel Baust
pro premium priority asked 3 days ago
I need help regarding configuration of a inputType Select column regarding options. Here's my config:
new TableEditor(table,
{
columns: [
{
label: 'Country',
field: 'country',
inputType: 'select',
editable: true,
options: [
{value: "1", label: "Germany"},
{value: "2", label: "USA"},
],
width: 100,
fixed: true,
sort: false
},
{
label: 'Revenue account',
field: 'revenue',
inputType: 'number',
editable: true
}
],
rows: [
{
country: "1",
revenue: 8400
}
]
},
{
bordered: false,
striped: false,
actionHeader: "ACTN",
actionPosition: 'start',
entries: 15,
entriesOptions: [15, 30],
fixedHeader: true,
mode: "inline",
rowsText: "RPP"
}
);
Actual Result:
<select><option value="[options Options]">[options Options]</option></select>
Expected Result:
<select><option value="1">Germany</option></select>
Add comment
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Open
Specification of the issue
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 9.0.0
- Device: Any
- Browser: Any
- OS: Any
- Provided sample code: No
- Provided link: No
Related topics