Hi,
i have this code:
now, how can i filter on field buyer, but to use autocomplete, and to show all buyers that are in dataSource ?
I tried with this, on buyer filed, but still nothing.
Any solution for this?
Thanks.
i have this code:
$(
"#grid_detail"
).kendoGrid({
dataSource: {
data: orders
},
filterable: {
extra:
false
,
operators: {
string: {
contains:
"Contains"
,
}
}
},
sortable:
true
,
columns: [
{
field:
"Buyer"
,
title:
"buyer"
,
width:
"40"
},
{
field:
"name"
,
title:
"Article name"
,
width:
"40"
},
{
field:
"paid"
,
title:
"Paid"
,
width:
"20"
,
filterable:
false
}
]
});
I tried with this, on buyer filed, but still nothing.
filterable:
function
(element){
element.kendoAutoComplete({
dataSource: orders,
dataTextField:
"buyer"
,
})
}
Any solution for this?
Thanks.