PDA

View Full Version : How to copy excel data to cellediting grid?



op1op
9 Apr 2013, 1:07 AM
Hi , is there any way to do this?

Copy data from excel to extjs grid?

tvanzoelen
9 Apr 2013, 7:03 AM
No, the cells of the grid are divided over multiple divs in the dom, no way to do this without some heavy programming. You have then to put a copy past handler on each cell and process the data and fill a store with it ....reload the grid ...

better then paste the data in text field and generate a new grid/store from it.

and do something like
http://docs.sencha.com/ext-js/4-2/#!/example/grid/transform-dom.html

op1op
15 Apr 2013, 9:12 PM
Thank you!