Checkpoint - nearing releasable!

This commit is contained in:
2023-03-03 10:07:29 -06:00
parent f766f17a92
commit ed17a311af
2 changed files with 116 additions and 58 deletions

View File

@ -57,6 +57,13 @@ export default class DataGridUtils
if(!row["id"])
{
row["id"] = record.values.get(tableMetaData.primaryKeyField) ?? row[tableMetaData.primaryKeyField];
if(row["id"] === null || row["id"] === undefined)
{
/////////////////////////////////////////////////////////////////////////////////////////
// DataGrid gets very upset about a null or undefined here, so, try to make it happier //
/////////////////////////////////////////////////////////////////////////////////////////
row["id"] = "--";
}
}
rows.push(row);