Reputation: 1988
Hi i want to implement a copy feature so that i can right click and press copy and paste in any wordpad , or something like this can any body give me a guidance how to implement this. imagine it as simple grid. with many rows
Upvotes: 1
Views: 12604
Reputation: 813
There are two extensions for copy/paste actions on Grid Panels :
and another useful one
If you want to use copy/paste in a general way, not only in grid panels you must use the Flash option.
Upvotes: 1
Reputation: 78
you can take a look at how-to-copy-to-clipboard-in-javascript
to figure out how to do a cross browser clipboard copy first.
Then you can look into Extjs RowSelectionModel class http://www.sencha.com/deploy/dev/docs/ which defines a rowselect event and rowselected method to return the record selected by user then pass it to the clipboard. Hope it helps
Upvotes: 1