on ‎2020 May 03 9:31 AM
Hello Experts,
I have a requirement to create dynamic table based on inputs from predecessor view...
sap.m.table is an alternative but i would like to try with Smarttable...
https://stackoverflow.com/questions/21014145/sapui5-sap-m-table-dynamic-creation
Any help with an example?
Request clarification before answering.
Hi, hari_105
You can use the class sap.ui.comp.smarttable.SmartTable(id?, settings?)
Something like this:
const smartTable = new sap.ui.comp.smarttable.SmartTable(
('smartTable-id'),
{
entitySet: 'yourEntity',
width: '100%',
enableAutoBinding: true,
tableType: 'ResponsiveTable',
useExportToExcel: false,
showFullScreenButton: true,
useTablePersonalisation: false
}
);Here is the documentation where you can find all properties, methods, events...
Hope it helped.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.