on 2020 Jul 08 8:33 AM
1st Table has 3 columns which was binded using "{oModel/>otestarray1}"
1 - Radio Button, 2 - MaterialNum#, 3 - Description
2nd Table has 2 columns which was binded using "{oModel/>otestarray2}"
1- OperationNo, 2 - WorkCenter
Here there is no common column in the tables . But in the ODATA that i have, "materailno" as a common value in both the arrays.
When i select a radio button in the 1st table, which has a column "MaterialNum#", data in the 2nd table should be filtered based on the "MaterialNum#" column in the first table.
Hello Shashikanth,
Using select event for radiobutton get the Material Number and filter second table using below code,
var sMaterialNumber= oEvent.getSource().getParent().getBindingContext().getObject().MaterialNumber;
var oFilter = new sap.ui.model.Filter("MaterialNumber", sap.ui.model.FilterOperator.Contains, sMaterialNumber);
GRID TABLE: oTable2.getBinding("rows").filter(oFilter, "Application");
RESPONSIVE TABLE: oTable2.getBinding("items").filter(oFilter, "Application");
Thanks,
Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.