how can get output as infotable which is filtered result of another infotable?
Apr 05, 2018
01:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Apr 05, 2018
01:39 PM
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?
Labels:
- Labels:
-
Coding
1 REPLY 1
Apr 06, 2018
12:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Apr 06, 2018
12:53 AM
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);
}
