New sinks for table cells!

We just added a few sinks for tables that you might find useful.

cellSuffix: shows a suffix on the right side of a cell. Only shows up when the student focuses into the cell, or when the cell has content. Recommended if you ever want students to enter a unitted number (“ft”) or a percent ("%"). Let us know if you find other uses!

cellErrorMessage: shows an error with a tooltip to the student. Recommended if you’re trying to parse their work but can’t. Note: this sink is different from the “warning” sink, which shows an error to the teacher. This is just student-facing.

2 Likes

Would be awesome to have a way to delete content in all cells with the click of the action button or delete button.

1 Like

One more new sink available for table cells!

cellDisableEvaluation: disables the default evaluation on table cells of math type. For example, if you want students to type a fraction into the first cell of the first row without seeing the decimal evaluation you could use

cellDisableEvaluation(1,1): true

to disable the evaluation in that cell and not show the decimal.

5 Likes

Is the same sink available for expressions input?

Yes, by a different name: disableEvaluation

Can you disable evaluation for the whole table or do you have to do it for each cell?

Hi Sheri!

As far as I know, you have to disable evaluation for each cell.

I made a template to disable evaluation on the first column which you can copy/paste to save time. If you want a different column, just change the column number from a 1:
cellDisableEvaluation(1,1): true
cellDisableEvaluation(2,1): true
cellDisableEvaluation(3,1): true
cellDisableEvaluation(4,1): true
cellDisableEvaluation(5,1): true
cellDisableEvaluation(6,1): true
cellDisableEvaluation(7,1): true
cellDisableEvaluation(8,1): true
cellDisableEvaluation(9,1): true

cellDisableEvaluation(10,1): true
cellDisableEvaluation(11,1): true
cellDisableEvaluation(12,1): true
cellDisableEvaluation(13,1): true
cellDisableEvaluation(14,1): true
cellDisableEvaluation(15,1): true
cellDisableEvaluation(16,1): true
cellDisableEvaluation(17,1): true
cellDisableEvaluation(18,1): true
cellDisableEvaluation(19,1): true

cellDisableEvaluation(20,1): true
cellDisableEvaluation(21,1): true
cellDisableEvaluation(22,1): true
cellDisableEvaluation(23,1): true
cellDisableEvaluation(24,1): true
cellDisableEvaluation(25,1): true
cellDisableEvaluation(26,1): true
cellDisableEvaluation(27,1): true
cellDisableEvaluation(28,1): true
cellDisableEvaluation(29,1): true

2 Likes

Thanks. I did basically this already. Much appreciated.