I have a ListGrid in which I am currently displaying a dropdownlist to select an item in edit mode.
Now that this dropdownlist has a huge number of entries, I would like to do the selection thanks to the autocomplete. Please see in the attached file.
I already tried with the autocomplete option without success. I was not able to find any information about how to do that.
Here is an example:
Thanks
Now that this dropdownlist has a huge number of entries, I would like to do the selection thanks to the autocomplete. Please see in the attached file.
I already tried with the autocomplete option without success. I was not able to find any information about how to do that.
Here is an example:
Code:
this.personList = isc.ListGrid.create({
ID: "myList",
width: "100%",
dataSource: "customDS_person",
margin: 1,
canEdit: true,
modalEditing: true,
autoFetchData: true,
autoDraw: false,
fields: [
{name: "name", type: "text", width: "20%", title: "Name", required: true, canHide: false"},
{country: "country_id", align: "left",
title: "Country",
required: false,
valueField: "country_id",
displayField: "country_name",
autoComplete: true,
optionDataSource: "customDS_countryDDL",
pickListFields:[{name:"name"}],
width: "40%",
autoComplete: true, //How to use this option???
showHover: true,
hoverHTML: "return personList.getCellValue(record, rowNum, 0);"}
],