Skip to Content
avatar image
Former Member

setFilterFunction method of input control in not getting triggered in sap.ui.table.Table?

i have created a table in which i have columns as input control i want to trigger setFilterFunction of input but its not? How can we fix this is there any other way to call the setFilterFunction.

this.oModel = new JSON({
"columns":[{"columnName": "ID"},{"columnName": "Name"},
{"columnName": "RollNo"}],
});<br>this.otable = new Table({
this.otable.bindColumns("/columns", this.bindColumnToTable.bind(this));
bindColumnToTable:function(sid, oContext){
var colObject = oContext.getObject();
var newColumn = new sap.ui.table.Column({
width: "9rem",
multiLabels: [
new sap.m.Label({
text: "input"
new sap.m.Button({
text:  colObject.columnName
template: this.getInputCellControlForAction(colObject) ,
autoResizable: true
return newColumn;
var inputForAction = new sap.m.Input({ showSuggestion: true, suggestionItemSelected: this.onActionSeleted.bind(this),
suggest: this.bindItemForSuggest.bind(this)
     "onAfterRendering": function () {
     inputForAction.setFilterFunction(jQuery.proxy(this.setFilterSug, this));
}, this);
return inputForAction;
//this method should trigger
	if (sValue !== " " && sValue !== undefined) {
         return oItem.getText().match(new RegExp(sValue, "i"));
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers