|
@@ -1042,6 +1042,12 @@ namespace InABox.DynamicGrid
|
|
|
if (table is null) return;
|
|
|
|
|
|
var colno = table.Columns.IndexOf(datacolname);
|
|
|
+ if (colno < 0)
|
|
|
+ {
|
|
|
+ // This column is not in the list. Because of linked properties, a single lookup change can cause a cascade of updates,
|
|
|
+ // many of which are likely unnecessary; hence, we shall ignore any which are unnecessary.
|
|
|
+ return;
|
|
|
+ }
|
|
|
var corecol = Data.Columns[colno].ColumnName;
|
|
|
var corerow = Data.Rows[row];
|
|
|
corerow[corecol] = value;
|