FarPointSpread에서 CheckBox를 사용하기위해 아래와 같이 선언한다.
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType6 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
선언한 후 cell에 적용은 아래와 같이.
this.fpSpread1_Sheet1.Columns.Get(8).CellType = checkBoxCellType6;
Spread의 각 Row의 CheckBox 상태를 확인하기 위해서 다음과 같이 처리했다.
if (_ActiveSheet.GetValue(i, COL_MSG_SEND_YN) != null && bool.Parse(_ActiveSheet.GetValue(i, COL_MSG_SEND_YN).ToString()))CheckBox가 체크되었다면 true, 체크 되지 않았다면 false가 된다.
댓글 없음:
댓글 쓰기