hide columns

Hi, I am using the gridToClipboard(). This function copy all the rows but I have some hidden columns and their data are copied too. I need only the visible datas. How can I solve this??

Thanks!!!

You can control which columns will be serialized with setSerializableColumns(list) method

docs.dhtmlx.com/doku.php?id=dhtm … blecolumns
dhtmlx.com/docs/products/dht … olumn.html