This commit is contained in:
@@ -250,7 +250,20 @@ async function fetchLocalizedHeaderNames(columnData) {
|
||||
|
||||
//Called by getDataFromApi on retrieval of list with columnData
|
||||
function buildRecords(listData) {
|
||||
//iterate data, build each object keyed with index name and then return
|
||||
//iterate data, build each object keyed with index name and display set to correct locale filter and then return
|
||||
if (!listData) {
|
||||
return;
|
||||
}
|
||||
var ret = [];
|
||||
//comes as an array of arrays, needs to leave as an array of objects representing each row
|
||||
for (var iRow = 0; iRow < listData.length; iRow++) {
|
||||
var row = listData[iRow];
|
||||
//iterate row and build object representing row data keyed to index
|
||||
//first column is the default column so skip over it for now
|
||||
for (var iColumn = 1; iColumn < listData.length; iColumn++) {
|
||||
var column = row[iColumn];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//DataTable component
|
||||
|
||||
Reference in New Issue
Block a user