Try again re: not rendering if columns weren't known; change to use local rowIndex, not one from backend

This commit is contained in:
2023-04-24 13:07:36 -05:00
parent 472fb03ed0
commit eafaf897e6
2 changed files with 9 additions and 13 deletions

View File

@ -40,10 +40,11 @@ export default class DataGridUtils
{
const fields = [ ...tableMetaData.fields.values() ];
const rows = [] as any[];
let rowIndex = 0;
results.forEach((record: QRecord) =>
{
const row: any = {};
row.__qRowIndex = record.values.get("__qRowIndex");
row.__rowIndex = rowIndex++;
fields.forEach((field) =>
{