on 04-06-2011 5:41 PM
Hi All,
I have a requirement where i have to export the table data to excel sheet on click of a button.
I am able to export the table data into excel on click of a URL using the below method.
wdContext.currentContextElement().setURL(cachedResource.getURL());
I need to download the same using click on a button..
Please help.
hi
You have to create action for the button as other guys said
Follow this step by step tutorial to export data to excel sheet .
hope you get the result
Best regards
suresh joshi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
what Our friend Robin told is the right .
just creat an action to button and in the action wrtite the saem method whihc u used for linktoaction UI .
below link migt be helful to u .
[http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6603] [original link is broken] [original link is broken] [original link is broken];
Regards,
Govindu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul,
I'm not sure if I understand your requirement correctly, you need to set the value attribute when a button is clicked?
Add a button to your view, and create a method for the onClick event
In this method, add the same code for when clicking the url
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.