Bài đăng

Hiển thị các bài đăng có nhãn table

[sapui5] sap.ui.table.Table renders columns in-correctly after toggling visible from false to true (contained inside a IconTabBar)

Hình ảnh
Hi, The issue like this: It happens when the table gets switched from visible false to true. (when the table is invisible, there's will be another control (Planning Calendar) displayed instead) This sap.ui.table.Table is contained inside an IconTabBar. Reason: Still unknown. It may come from the renderer after switching from invisible to visible. It may cause from the IconTabBar container. Workaround: For now, I need to refresh the binding of the table, so that the will re-render the table columns as well, which solve the issue. But it's just still a work-around. ---V---

[sapui5] aggregation binding - Use Control Visible instead removeItem or destroyItem

Hình ảnh
Hi, You may be working with binding items in table or list, we call it aggregation binding in common. You may encounter some case where you need to hide some item in the list. If it's the case, remember to look at my practice: User item's visibility instead of remove or destroy that item in the list. Because  remove  or  destroy will remove the item from the HTML document, but still leave the Id of the HTML object there. If you make some time to the table that changes the items, the table rebind and you will get id duplication error . On the other hands, if you just hide the item by using the visible property of ListBaseItem, the control is still there (only hidden). Which leads to no id error. ---V---

Download all data from table which contain many data

If table contains many data, you can not download all table data using Export object from SAP. You need to set the Size Limit of table to maximum: setSizeLimit ( iSizeLimit ) Cheers! ---V---

[sapui5] Freeze table - fixed columns on the left, or allow right columns scrollable only

Hình ảnh
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---

How to modify table as you're a developer:

Hình ảnh
This is just a temporary way i found: Enter Tcode Function Builder: Enter the program name "SE16N_INTERFACE" to pretend like you're developing a progam (in this case you're developing gateway for SE16N. Now you can edit the table. Good luck! ---V---