score:1

Accepted answer

the solution provided by dave in the comments did the trick. posting it here as the answer:

setselecteddatatablerow={this.setselecteddatatablerow}

updated to

setselecteddatatablerow={this.setselecteddatatablerow.bind(this)}

Related Query

More Query from same tag