mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-19 05:40:44 +00:00
Try again re: not rendering if columns weren't known; change to use local rowIndex, not one from backend
This commit is contained in:
@ -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) =>
|
||||
{
|
||||
|
Reference in New Issue
Block a user