on 2019 Apr 16 5:33 PM
Hello,
does somebody know how to fill a dropdown within SAP Analytic Cloud Analytic Application
I understand that you have to fill it on onInitialization.
My try was:
var product_list = Table_1.getDataSource().getMembers("Produkt");
Dropdown_Produkt.addItem(product_list, product_list);
How is the syntax for
addItem(key: string, text?: string);
Thank you for your support
Best regards
Michael
Hello Tammy thank you for your quick answer.
The code you delivered was almost right I just changed
var i=0;
var productlist = Table_1.getDataSource().getMembers("Produkt");
for (i=0;i< productlist.length; i++)
{
Dropdown_Produkt.addItem(productlist[i].id,productlist[i].description);
}
Thank you very much.
Best regards
Michael Wecker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.