Posted 29 March 2022, 1:17 pm EST
Hi teams,
On my web application, i have a cell that includes 2 buttons.
This is my current code:
const buttons = new GC.Spread.Sheets.Style();
buttons .foreColor = 'black';
buttonCell.cellButtons = [
{
caption: Edit,
position: GC.Spread.Sheets.ButtonPosition.left,
useButtonStyle: true,
enabled: true,
command: (sheet, row, col, option) => {},
width: 100,
},
{
caption: Delete,
position: GC.Spread.Sheets.ButtonPosition.right,
useButtonStyle: true,
enabled: true,
command: (sheet, row, col, option) => {},
width: 100,
},
]
I’m facing an issue: when end user resize height of row, height of buttons is auto resized. I want to fix height of buttons is 50px. But i can’t find any properties for my expectation.
How can i do it ?
