-
25 Aug 2008 6:42 AM #1
Grid copy/paste, editable tree grid
Grid copy/paste, editable tree grid
Is there any way to have following features in extjs?
1) Ability to select range of cells and copy/paste data to excel
2) Have nested rows in editable grid (I see similar funtionality in Column Tree, but it is readonly, is it?)
Like it is done in http://www.nitobi.com/products/compl.../asp/treedata/
We have liceses for both extjs and nitobi and have to use nitobi because of those two features, and it s*cks compared to extjs.
-
25 Aug 2008 7:07 AM #2
I believe there are extensions near both of your requests available.
"Anything is possible"...you may have to provide some of your own code though or get / hire someone to help you.MJ
API Search || Ext 3: docs-demo-upgrade guide || User Extension Repository
Frequently Asked Questions: FAQs
Tutorial: Grid (php/mysql/json) , Application Design and Structure || Extensions: MetaGrid, MessageWindow
-
31 May 2009 12:04 PM #3
Here is Excell grid
Here is Excell grid
Hi,
Here is the excel grid by which user can select cells like Excel sheet, and copy paste To/From excel sheet to extjs grid. More important it does not use any flash to copy data to clipboard.I have tested it in Firefox 3.0.10, IE6, Safari 3.2.2.but there is some bug on mouse selection in Safari, i am working on it.
Extract the zip, copy the files as structure given in it.
-
21 Mar 2010 10:56 AM #4
in button
in button
Hi, I have one problem implementing the method pasteFromClipBoard() in button,
my code
works with ctrl-v but does not work from a buttonCode:var grid = new Ext.grid.EditorPasteCopyGridPanel({ store: store, cm: cm, renderTo: 'editor-grid', width:600, height:300, autoExpandColumn:'common', title:'Edit Plants?', frame:true, plugins:checkColumn, tbar: [{ text: 'Paste from Excell', handler : function(){ //console.debug(this); grid.pasteFromClipBoard(); } }] });
help me please,
Excuse my english, I speak spanish. Thanks
-
24 Mar 2010 8:34 AM #5
Hi,
actually there is no direct way to get the content from clipboard(as per my knowledge), so in this grid we can get the clipboard data by ctrl+v method only, as function
pasteFromClipBoard:function(){
var hiddentextarea = this.getHiddenTextArea();
hiddentextarea.dom.value ="";
hiddentextarea.focus();
},
shows that, we are only changing the focused element on ctrl+v event, and there is no code written for fetching the clipboard data. when user press the ctrl+v his clipboard data directly pasted to the hidden textarea, from where we get the content for our grid uses.
now u can see that this function cannot be used by any other button/Event
Sorry for that
-
25 Mar 2010 4:54 PM #6
Gracias por contestar, igual es un magnifico control.

Thanks.
Sorry, I said that although one can not use a button, I have been very useful this control, Thanks for posting.
-
25 Mar 2010 11:15 PM #7
sorry i dont know what u said

-
31 Mar 2010 11:02 PM #8
Hi, Could you provide some working proto of it, if possible?
Thanks,
Haresh
-
6 Apr 2010 12:39 AM #9
you can test it as follow
you can test it as follow
Hi,
You can test the grid as follow
1. download excell-grid_1.3.zip
3. download ext 3.*
2. extract excell-grid_1.3.zip and copy files as per directory structure given in it under ext folder
3. now go your localhost as http://localhost/ext/examples/excel-grid/
4. Or simple open the ext/examples/excel-grid/index.html
You will see the out put
if you are getting any issue/bug email me at surindersingh83_ece@yahoo.com
-
8 Jun 2010 11:50 PM #10
This is awesome! Thanks a lot for sharing
Extensions:
Ext.ux.DatePickerPlus (Multimonth,Multiselect,...)
Ext.ux.menu.StoreMenu - Ajax Store as menu-item config
Extended Window - Aero Shadows, nested grayscaled modal windows
Ext.MessageBox.promptCombo/promptRadio/promptCheckbox
Ext.ux.plugin.triggerfieldTooltip (for Comboboxes, Datefields...)
Ext.util.MD5
Ext.util.Utf8 (encode/decode)
Ext.util.base64 (encode/decode)
Using:
ExtJS 3.4.1.1/4.2
XPsp3/W7sp1
IE8/9/10
FF 20
Chrome 26


Reply With Quote

