PureJS 버튼 색상변경
추천0 비추천 0
페이지 정보
작성자 black 작성일 2024-04-02 16:45 조회 38회 댓글 0건제품 버전 : SpreadJS 17
컨트롤 이름 : button
본문
관련링크
let searchButton = mainSheet.shapes.addFormControl('button', GC.Spread.Sheets.Shapes.FormControlType.button, 300, 30, 80, 40);
searchButton.text("조회");
let buttonStyle = searchButton.style();buttonStyle.buttonBackColor = 'rgb(255, 0, 0)';
searchButton.buttonBackColor = "#FFFF00";
searchButton.style(buttonStyle);이런식으로 했는데 버튼의 글자색은 변경되는 코드가 있는데 배경색이 안바뀝니다
댓글목록
등록된 댓글이 없습니다.