GcSpread.Sheets Namespace > Sheet type : findFloatingObject Method |
var instance = new GcSpread.Sheets.Sheet(name); var value; // Type: CustomFloatingObject value = instance.findFloatingObject(name);
function findFloatingObject( name : string ) : CustomFloatingObject;
<input type="button" id="button1" value="button1"/> var customFloatingObject = new GcSpread.Sheets.CustomFloatingObject("f1", 10, 10, 60, 64); var btn = document.createElement('button'); btn.style.width = "60px"; btn.style.height = "30px"; btn.innerText = "button"; customFloatingObject.Content(btn); activeSheet.addFloatingObject(customFloatingObject); $("#button1").click(function () { var floating = activeSheet.findFloatingObject("f1"); floating.isVisible(false); });