:: Forum >>

Copy & paste of multiple rows/cells - AW 2.5.3

I'm sure this has been asked before, but I can't seem to find the appropriate topic.

I would like to select one or more rows/cells, copy it, and then go to a text editor and press Ctrl-V. Even better would be to put it in an Excel spreadsheet as CSV data, but I'll talk the text editor.

This works slighty with 2.5.3, but when I paste, I just get one long ugly line of data. A minimum of formatting (tabs, newlines, etc) would be nice.

Is this at all possible with the current version? Do I have to cook something up in javascript to make it work?

Brian Kreulen
Wednesday, January 7, 2009
Brian Kreulen
Friday, January 9, 2009
Alex had posted this code on the board a while back.

copybutton.onControlClicked = function(event){
var txt = T7G1.getSelectedText();
window.clipboardData.setData("Text", txt);
alert('Data copied to clipboard!');

Friday, January 9, 2009
Copy & paste to text editor or Excel should work in AW 2.5.3 - it is activated by default and does not require any additional code. The grid control inserts tab between the cells and new line character between the rows, so you can paste it into Excel and it also appears as table in the editor.

Brian, did you try to paste into Excel or another text editor?
Alex (ActiveWidgets)
Friday, January 9, 2009
See also -

Alex (ActiveWidgets)
Friday, January 9, 2009

This topic is archived.

Back to support forum

Forum search