Posted 20 September 2021, 1:39 am EST
Hi Ryan,
When I drag over an entire column of cells, instead of copying the values, it increments each by one. How to fix it?
This is expected behavior from SpreadJS. For this, you need to change the default fill type to copy the cell. Please refer to the following code snippet and let us know if you face any issues.
spread.options.defaultDragFillType = GC.Spread.Sheets.Fill.AutoFillType.copyCells
Also, how do I disable the menu that appears after I dragged over the cells?
For this you need to use the showDragFillSmartTag options and set it as false. Please refer to the following code snippet and let us knwo if you face any issues.
spread.options.showDragFillSmartTag = false;
dragFillDemo: https://www.grapecity.com/spreadjs/demos/features/cells/fill/basic-fill#demo_source_name
Regards,
Avinash