Is there an option to make one row in swt table not editable after adding it ,(and the other rows still editable)
I am adding new row in this way.
Table table = tableViewer.getTable();
tableViewer.add(rowElement);
table.setTopIndex(table.getItemCount());
table.select(table.getItemCount() - 1);
Thanks.
I guess you are using your
TableViewerwith anEditingSupport(if not, read this).The
EditingSupporthas a methodcanEdit(Object object). You can use the following to prevent editing of a given cell: