Angular Spreadsheet Activation

    Angular Spreadsheet 구성 요소는 컨트롤에서 현재 활성화된 셀, 창 및 워크시트를 확인할 수 있는 속성을 노출합니다. 이는 사용자가 컨트롤에서 탐색하거나 편집할 수 있는 위치를 확인하는 데 도움이 되므로 유용합니다.

    Angular Spreadsheet Activation Example

    Activation Overview

    The activation of the Angular IgxSpreadsheetComponent control is split up between the cells, panes, and worksheets of the current workbook of the spreadsheet. The three "active" properties are described below:

    • activeCell: 스프레드시트에서 활성 셀을 반환하거나 설정합니다. 설정하려면 새로운 인스턴스SpreadsheetCell를 생성하고 해당 셀에 대한 정보(예: 열, 행, 문자열 주소 등)를 전달해야 합니다.
    • activePane: 스프레드시트 컨트롤의 현재 활성 워크시트에서 활성 창을 반환합니다.
    • activeWorksheet: 스프레드시트 컨트롤의 활성 워크시트workbook를 반환하거나 설정합니다. 이 기능은 첨부된 스프레드시트의workbook 기존 워크시트에 설정하여 설정할 수 있습니다.

    Code Snippet

    다음 코드 스니펫은 컨트롤에서IgxSpreadsheetComponent 셀과 워크시트의 활성화 설정을 보여줍니다:

    this.spreadsheet.activeWorksheet = this.spreadsheet.workbook.worksheets(1);
    
    this.spreadsheet.activeCell = new SpreadsheetCell("C5");
    

    API References