dhtmlxSpreadsheet creating trailing spaces when i copying

Hi,

In spreadsheet when i copy from one cell to another it creates a trailing space first followed by the content in the cell to which i am copying to. How can i set it in a way that it does not include those spaces.

Kindly assist.

Regards, DanB