Hi,
I am using a licensed DHTMLX Grid version 2.5 Build 090904.
I am using the following codes to initialize the grid:
…
//Enable clipboard operation
mygrid.forceLabelSelection(true);
mygrid.enableBlockSelection(true);
//attached Event for clipboard operation
mygrid.attachEvent("onKeyPress", onKeyPressed);
mygrid.attachEvent("onBeforeSelect", function() {
return false;
});
mygrid.entBox.onselectstart=function(){
return false
};
mygrid.init();
When I copy the data in the grid, when I set
forceLabelSelection(true)
, I got these:
javascript:showPartyDetailsWorkspace(4460740)
javascript:showPartyDetailsWorkspace(41322278)
javascript:showPartyDetailsWorkspace(10044475424)
javascript:showPartyDetailsWorkspace(37885116)
When I set
forceLabelSelection(false)
, I got these:
GOOGLE INC.^javascript:showPartyDetailsWorkspace(4460740)
GOOGLE INTERNATIONAL LLC^javascript:showPartyDetailsWorkspace(41322278)
GOOGLE-233051^javascript:showPartyDetailsWorkspace(10044475424)
GOOGLE^javascript:showPartyDetailsWorkspace(37885116)
If I use forceLabelSelection(true), I suppose to get only the Names, but not the underlying codes.
Did anyone encounter similar issues? Am I missing something?
Thanks in advance.
Brian