I am attempting to retrieve the board_id of my objects in the columnsServer array...
columnsServer: Column[];
this.service.getColumns()
.subscribe(data => {
this.columnsServer = data;
console.log(this.columnsServer);
for (this.i = 0; this.i < this.columnsServer.length; this.i++) {
console.log(this.columnsServer[this.i].board_id);
}
When I use the first console.log, all properties are printed correctly. However, when I try to access the board_id value, it shows as undefined.
What am I doing incorrectly? I can access other properties of the object without a problem, only the board_id is causing issues.
Thank you!