Clipboard Operations Problem in Chrome

Hi,

I can not use the feature to copy to Clipboard. the error appears “Uncaught ReferenceError: Clipboard is not defined”.

My code:

this.myGrid = this.myLayout2.cells(“b”).attachGrid();
this.myGrid.setImagePath("./imgs/icons/");
this.myGrid.setIconsPath("./imgs/icons/");
this.myGrid.setHeader(" ,Nome,Descrição,Versão,Tamanho,Tipo,Última Alteração,Extensão,Caminho,Check_In,Check Out,Localização");
this.myGrid.setColumnIds(“id0,nome,descricao,versao,tamanho,tipo,alterado_por,extensao,caminho,check_in,check_out,localizacao”);
this.myGrid.attachHeader("#rspan,#text_filter,#text_filter,#text_filter,#text_filter,#select_filter,#text_filter,#rspan,#text_filter");
this.myGrid.setColTypes(“ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro,ro”);
this.myGrid.setInitWidths(“40,230,250,50,90,80,150,50,50,50,40,200”);
this.myGrid.setColAlign(“center,left,left,center,right,center,center,center,left,left,center,left”);
this.myGrid.setColSorting(“str,str,str,str,str,str,str,str,str,str,str,str”);
this.myGrid.setStyle(“text-align:center;vertical-align: middle !important;”, “”, “”, “”);
this.myGrid.enableContextMenu(this.myMenu);
this.myGrid.enableDragAndDrop(true);
this.myGrid.enableMultiline(true);
this.myGrid.enableMultiselect(true);

this.myGrid.load("./file_explorer/data/directoryContent.php?id=" + dir);

this.myGrid.attachEvent(“onRowDblClicked”, function (id) {…});

this.myGrid.attachEvent(“onRowCreated”, function (id, r) {…});

this.myGrid.attachEvent(“onBeforeContextMenu”, function (id, ind, obj) {…});

this.myGrid.attachEvent(“onXLE”, function (grid_obj, count) {…});

this.myGrid.attachEvent(“onDrop”, function (sId, tId, dId, sObj, tObj, sCol, tCol) {…});

this.myGrid.attachEvent(“onBeforeDrag”, function (id) {…});

this.myGrid.attachEvent(“onDragIn”, function (dId, tId, sObj, tObj) {…});

this.myGrid.attachEvent(“onEmptyClick”, function (ev) {…});

this.myGrid.attachEvent(“onBeforeSelect”, function (new_row, old_row, new_col_index) {…});

this.myGrid.init();
this.myGrid.objBox.id = “gridBodyObj”;
this.myMenu2.addContextZone(“gridBodyObj”);

Any problem in my code?

Regards

Clipboard features in Chrome are available only using the block selection with the ctrl+c/ctrl+v keyboard combinations.

Thnks sematik,

but the block selection is not compatible with drag n drop

You’re right. Unfortauntely it is not available to use a drag’n’drop feature together with the block selection.

You’re right. Unfortauntely it is not available to use a drag’n’drop feature together with the block selection.