[sapui5] Working with Smart table

Hello,

I had so many difficulties to customize this controls in my project.
So I stored all helpful link here for future reference:

— Guiline to do:
https://help.sap.com/viewer/0ce0b8c56fa74dd897fffda8407e8272/7.5.6/en-US/1daa46220969467faf04329308c24613.html
https://blogs.sap.com/2015/09/16/smarttable-exampl/

— Explain details how the code work for Smart controls:
https://blogs.sap.com/2016/03/16/how-smarttable-works/

Cheers!

p/s:
Fortunately, after hours of researching, I've found the reason why my smart table didn't work:

The "app:useSmartField" is some kind of "special property" which is being used in the version of SmartTable (the version at the date I wrote this blog), which is not applied to the normal smart table, which is guided in most of the blogs written at this time. That property makes the UI5 library couldn't parse the data from Backend to Frontend, which cause this error.
This property is in the template code of Sap Demo Code in Samples. (which is used by almost all developer). So you should be careful with this.

After removing this property from the smart table, my app worked fine.

The frustrated point here is that the console didn't log this parsing issue clearly, so I can not find out what is the reason. sap ui5 library should log this more carefully, and modify the sample code also.

---V---

Nhận xét

Bài đăng phổ biến từ blog này

Tại sao lại chụp ảnh theo bố cục 1/3 ?

[sapui5] Best Practice in sapui5 development

Implement Search field with case-INSENSITIVE by SAP UI5