| Member | Description |
|---|---|
| always | Indicates the cellbutton alway visible. |
| onEditing | Indicates the cellbutton visible when the cell enter edit. |
| onSelected | Indicates the cellbutton visible when the cell is active. |
| Member | Description |
|---|---|
| always | Indicates the cellbutton alway visible. |
| onEditing | Indicates the cellbutton visible when the cell enter edit. |
| onSelected | Indicates the cellbutton visible when the cell is active. |
//This example sets the visibility of cellbutton. //create config leftButtonConfig1 = { caption: "left", enabled: true, isLeft: true, visibility:GC.Spread.Sheets.ButtonVisibility.always, }; rightButtonConfig1 = { caption: "left", enabled: true, isLeft: false, visibility:GC.Spread.Sheets.ButtonVisibility.onseleciton, }; //create style var style = new GC.Spread.Sheets.Style(); style.cellButtons=[ leftButtonConfig1, rightButtonConfig1 ]; sheet.setStyle(0, 0, style);
Object
GC.Spread.Sheets.ButtonVisibility