0
votes

same like image.i am new in SAP UI5. i created a table having 2 columns and applied sort and filter property all are working fine. but now i want some suggest list should appear while user is giving input in filter box. please help below is my code.

var oTable = new sap.ui.table.Table({ editable : false, width : "auto", visibleRowCount : 6 }); oTable.addColumn(new sap.ui.table.Column({ label : new sap.ui.commons.Label({ text : "Product Name" }), template : new sap.ui.commons.TextField().bindProperty("value", "PNAME"), enabled : false, editable : false, sortProperty : "PNAME", filterProperty : "PNAME", display : "none", width : "auto" })); oTable.addColumn(new sap.ui.table.Column({ label : new sap.ui.commons.Label({ text : "Region Name" }), template : new sap.ui.commons.TextField().bindProperty("value", "RNAME"), enabled : false, editable : false, sortProperty : "RNAME", filterProperty : "RNAME", display : "none", width : "auto" }));

1

1 Answers

0
votes

TextField is deprecated since 1.38. Instead, use the sap.m.Input control. Input control has suggestion functionality.