var cellType = new GcSpread.Sheets.ButtonCellType();
cellType.buttonBackColor("#FFFF00");
cellType.text("this is a button");
var style = new GcSpread.Sheets.Style();
style.backColor = "red";
style.borderLeft =new GcSpread.Sheets.LineBorder("blue");
style.borderTop = new GcSpread.Sheets.LineBorder("blue");
style.borderRight = new GcSpread.Sheets.LineBorder("blue");
style.borderBottom = new GcSpread.Sheets.LineBorder("blue");
style.cellType = cellType
activeSheet.setStyle(1,1,style,GcSpread.Sheets.SheetArea.viewport);