about moving Copy button into drop down menu

about moving Copy button into drop down menu

haraulharaul Posts: 5Questions: 1Answers: 0
edited April 2013 in TableTools
I have a drop-down-menu where I have different options for the datatable. I wanted to move TableTools's 'Copy' button functionality to the menu.

1. Is it possible to trigger click event on the 'Copy' button. I know its flash button and might be tricky?

2. Or Can I copy the whole tag including generated by flash and use that in my menu list? The following code was generated in Chrome browser.
[code]

Copy



[/code]
3. Or is there any other way to do this?

Thanks in advance!

Replies

  • haraulharaul Posts: 5Questions: 1Answers: 0
    Also, is there any dependency on flash version we use?
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Flash 10+. And yes, you should be able to move (not copy, since that will lose the event bindings) the button around, but make sure you move the Flash element as well and resize it as needed.

    Allan
  • haraulharaul Posts: 5Questions: 1Answers: 0
    Thanks a lot, Allan. I will try moving tag with Flash element. One thing I noticed was that Flash element ( i.e. tag in FF and tag in IE8 ) is not loaded immediately (even when dom is ready), it is loaded little later. So I guess I have to move it when user clicks on the main menu for very first time.
This discussion has been closed.