I have a column with only two possible values, and I have put a kendoDropDownList in the filter cell for that column. Now the filter button above, in the main header cell, makes no sense. How can I hide just the one button?
See attached image.
This is the code that initializes the column:
See attached image.
This is the code that initializes the column:
field: 'IsInstr',
title: 'Instr',
width: 70,
headerAttributes: {
"title": "Instrument or Component",
},
filterable: {
extra: false,
cell: {
template: function (input) {
input.kendoDropDownList({
autoBind:false,
dataTextField: "text",
dataValueField: "value",
valuePrimitive: true,
dataSource: instValus,
text: 'Both'
});
},
showOperators: false,
inputWidth: 75
}
},
title: 'Instr',
width: 70,
headerAttributes: {
"title": "Instrument or Component",
},
filterable: {
extra: false,
cell: {
template: function (input) {
input.kendoDropDownList({
autoBind:false,
dataTextField: "text",
dataValueField: "value",
valuePrimitive: true,
dataSource: instValus,
text: 'Both'
});
},
showOperators: false,
inputWidth: 75
}
},