Issue
I have a question regarding richselect's data in Webix. I follow this sample http://docs.webix.com/api__ui.suggest_textvalue_config.html
{
view:"richselect",
options:{
textValue:"name",
data:[
{ name:"Pen" },
{ name:"Apple" },
{ name:"Pineapple" }
]
}
}
Using textValue
, I am able to define the attribute that will appear in the input, but not in the list of options. But how can I do that?
TIA
Solution
Disagree. Richselect's suggest includes a list, therefore there's a possibility to modify its template. Here:
webix.ui({
view:"richselect",
options:{ // suggest
textValue:"name",
body:{ // list
template:"#name#",
data:[
{ name:"Pen" },
{ name:"Apple" },
{ name:"Pineapple" }
]
}
}
});
Answered By - Loj
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.