cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

how can get output as infotable which is filtered result of another infotable?

njain-31
6-Contributor

how can get output as infotable which is filtered result of another infotable?

how can get output as infotable with 2 column Location and DateTime (Datatype) from another infotable which has lat (string), long (string) and Date and time?

1 REPLY 1

var tableLength = infotable1.rows.length;
for (var x = 0; x < tableLength; x++) {

var row = infotable1.rows;

var newEntry = new Object();

var location = new Object();

location.latitude = parseInt(<lat>);

location.longitude = parseInt(<lon>);

location.elevation = 0;

location.units = "WGS84";

newEntry.location = location;

newEntry.datetime = row.datetime;

result.AddRow(newEntry);
}

Top Tags