Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
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?
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);
}