copy to clip board

Hi,

I am using DHTMLXGRID copy to clipboard function,
Scenario : I have one cell with some value and date time stamp. If i am trying to copy the cell to clipboard the copied value is as below: (PFA the screen shot)
"DE1 Comment1

2014-09-27 09:41:37
"

You can notice that complete

tag is getting copied.

My requirement is to only copy value i.e. “DE1 Comment1”

Note: “deresCellObj.setValue(deresCellObj.getValue() + “

”+ dedatetime +”
" ); ". This is how i am setting content to that particular cell…

How can i achieve this ??

Any help appreciated…

Thanks
Dhaval


Unfortunately the clipboard operations work with the values of the cells but not with the displayed labels.

I may only suggest you to use to create a custom exCell type so that the value of the cell will contain only the required label and format it using the exCell type code.
Here you can find a tutorial about creating column colurs with some example:
docs.dhtmlx.com/grid__columns_ty … olumntypes