Hi All , Finally thought of writing blog after struggling to create simple o-data service to perform basic operations including media and deep entities. So I don’t want you all to struggle and waste your time… This is for Beginners not for Experts, Create your simple gateway service by following provided steps. Service is all about Employee Information System. Tables Used. 1. Employee Details table[Principle data]Or[Header Information] 2. Employee Contact details(Ph no on working days and on leave)[Line Item] 3. Employee Photo Details. Structures Used [But U can directly use Database tables to include structure to create Data types] 1. Employee Details. 2. Employee Address Info[Include structure in Emp Details table]. 3. Employee Contact details(Info like Contact no during working days and on leave). 4. Employee Photo details. Let's start rock...
Hi there, Sometimes you may get a requirement for the table that I mentioned in the title: Freeze table, or fixed columns on the left, or allow right columns scrollable only. This can be achieved easily by sap.ui.table Control from the ui5 library. Try this control in Explored . More details API ---V---
Hi, Small Tips but no many knows: - Use this.getResouceBundle().getText(sKey, aParam) - Use BaseController (instead of creating a Util service). - Odata Model resetChanges() & submitChanges() ('TwoWay' binding required). Allow TAB to navigate within a table: Use property " keyboardMode " of ListBase . Set it to value " sap.m.ListKeyboardMode.Edit " and it would allow users to use TAB to move to the next cell in a table (the same behavior in MS Office table). API: https://sapui5.hana.ondemand.com/sdk/#/api/sap.m.ListBase/controlProperties https://sapui5.hana.ondemand.com/sdk/#/api/sap.m.ListKeyboardMode/overview References Advanced JS technique to shorten your code: Below hand-on with explanation will help you to shorten your frontend code a lot. Make the code more succinct, readable & easier to maintain. Functional Programming for your UI5 Apps Hands-On Worksheet Keep in mind the mindset: Think "everythin...
Nhận xét
Đăng nhận xét