홈 › Components › Table (표)
Table (표)
원본: Computation Layer 문서(Table (표)). 문서의 Try It 예제가 가리키는 화면 17개를 기록했고, 화면마다 CL 코드를 한국어로 풀어 썼다.
| 화면 | 이름 | CL 수 | 문서 항목 설명 (원문 일부) |
|---|---|---|---|
| 1 | Table.cellContent [source] | 1 | cellContentrowIndex: number, columnIndex: number Gets the contents of a cell given a row index and column index. (Row index 1 is the first r… |
| 2 | Table.cellNumericValue [source] | 1 | cellNumericValuerowIndex: number, columnIndex: number Gets the evaluated numeric value of that cell given a row index and column index. (Row… |
| 3 | Table.columnNumericValues [source] | 1 | columnNumericValuescolumnIndex: number Gets the evaluated contents of each cell in a column and returns it as a number list given the column… |
| 4 | Table.cellHasFocus [source] | 1 | cellHasFocusrowIndex: number, columnIndex: number Gets a Boolean value that indicates whether or not the student is editing a cell given the… |
| 5 | Table.maxRows [sink] | 2 | maxRows Sets the number of rows the table will display. |
| 6 | Table.disableRowChanges [sink] | 1 | disableRowChanges Sets a Boolean value that indicates whether or not the student can add or remove rows. Similar to fill-in-the-blank mode, … |
| 7 | Table.cellContent [sink] | 1 | cellContentrowIndex: number, columnIndex: number Sets the contents of a cell given the row index and column index of the cell. (Row index 1 … |
| 8 | Table.cellSuffix [sink] | 3 | cellSuffixrowIndex: number, columnIndex: number Adds a suffix to everything entered by the student. Recommended for inputs that expect a cer… |
| 9 | Table.cellErrorMessage [sink] | 3 | cellErrorMessagerowIndex: number, columnIndex: number An error to show to the student. Note: This will not show up in the teacher dashboard.… |
| 10 | Table.initialCellContent [sink] | 2 | initialCellContentrowIndex: number, columnIndex: number Sets the initial value of the cell at the row index and column index provided. This … |
| 11 | Table.cellEditable [sink] | 3 | cellEditablerowIndex: number, columnIndex: number Overrides all other mechanisms of deciding whether the student can edit this cell. |
| 12 | Table.cellDisableEvaluation [sink] | 1 | cellDisableEvaluationrowIndex: number, columnIndex: number Disable the evaluation of math typed by the student in this cell. Only affects ce… |
| 13 | Table.correct [sink] | 3 | correct Sets a Boolean value that determines whether or not a gray checkmark is displayed for the student's screen in the dashboard's summar… |
| 14 | Table.warning [sink] | 3 | warning Sets a string that is displayed as a tooltip in the teacher dashboard attached to a warning icon. |
| 15 | Table.readOnly [sink] | 2 | readOnly Sets a Boolean value that determines whether or not a component will be ignored when determining a screen's correctness. If all com… |
| 16 | Table.hidden [sink] | 1 | hidden When true, this component will not be shown to students. |
| 17 | Table.resetOnChange [sink] | 3 | resetOnChange Specify a string value. If that value changes, the component resets. |