This sample shows how you can customize the floating object, including changing its position, resizing it, and so on.
You can change the position and size of the floating object. The position and size can be set two different ways. For example:
var point = new GC.Spread.Sheets.Point(62, 20);
Sometimes you will resize the row's height or the column's width, and you don't want the position or size of the floating object to change. In that case, use the dynamicMove and dynamicSize methods. For example:
Note that if the dynamicMove method is false and the dynamicSize method is true, neither has an effect.
If you do not want the floating object to change based on UI interaction, use the isLocked method to lock it. If you want to lock it, first lock the sheet.
When one floating object overlaps another, you can change the order from top to bottom using the zIndex method. For example:
var zIndex = floatingObject.zIndex('f1');
floatingObject.zIndex('f1', zIndex + 1);
Select the floating object in the Spread component and change it using these options