Page 1 of 1

Table.OnCellEditing

Posted: Tue May 01, 2012 2:10 pm
by JonRobertson
I've implemented OnCellEditing to prevent the user from editing the first column of a table. When I click in any cell in the first column, the carrot moves to the left of the table and is as tall as the entire table.

I'm going to investigate using OnCaretMove to prevent this, as suggested elsewhere on the forum. I'm just wondering if this is intentional behavior or whether there is another way to prevent it from occurring.

Posted: Tue May 01, 2012 5:48 pm
by Sergey Tkachenko
OnCellEditing prevents placing the caret inside the specific cell. Since it must be placed somewhere, it is placed near the table.

If you want to protect the cell content, the alternative way is to use paragraph and text protection properties: Options of paragraph style, Protection of text style.