Hi Experts,
I have created an application by following MVC guidelines.
- I created a view, which includes the needed UI elements like application header and Table, I used matrix layout as the layout pattern of the view. View type is JS.
- I maintained the needed action handlers in the Controller file, Just to inform you there is only one action handler onClick_Logoff. This function just displays an alert.
- The Index file I left it as it is.I've not changed anything.
- I have imported a JSON file which includes Product Category Information. I am looking to maintain binding between this file and Table which is placed in the View.
- I could instantiate JSON model in the INIT:Function() of controller.
Now the challenges which I am facing are:
- How to get the reference of table with in the Controller. I tried to use SAP.UI.getCore().byID();. But unsuccessful.
- How to get or link the JSON data file in the Model.
- How can I bind the columns of the table with fields available in the JSON data file.
Please find the screenshots for more information.
Regards
Pavan
Message was edited by: Pavan Bhamidipati
Message was edited by: Pavan Bhamidipati
Message was edited by: Pavan Bhamidipati