Hello colleagues.
I have such a question. I create Smart Table in JS Controller. How I can bind this Smart Table with annotation file, where I prescribe columns?
Smart Table creation code:
var mytable = new SmartTable({
entitySet : "vGatewayStatuses",
id : "st",
smartFilterId : "smartFilterBar",
tableType : "Table" ,
useExportToExcel : true,
useVariantManagement :true ,
useTablePersonalisation : true,
header : "Line Items",
showRowCount : true ,
persistencyKey : "SmartTableAnalytical_Explored",
enableAutoBinding : true
});
I try set entitySet, but nothing happens. When I start my UI app, I have Smart Table with "No data".
What could be the problem?
Thanks for answers.