I need an help with navigating to a element in a table. The html looks like below,
<table role="grid">
    <thead class="ui-table-thead">...</thead>
    <tbody class="ui-table-tbody" ng-reflect-columns="[object Object],[object Object" ng-reflect-template="[object Object]">...</tbody>
    <tr tabindex="0" class="ui-selectable-row ng-star-inserted ui-state-highlight" ng-reflect-data="[object Object]">...</tr>
</table>
This is my code to navigate:
if(this.table){
    console.log(this.table.tableViewChild.nativeElement);
    let element = this.table.tableViewChild.nativeElement.children;
    for(let key in element){
        if ((element[key].classList).contains('ui-table-tbody')) {
            (element[key].classList).remove('ui-state-highlight');
          }
    }
}
The above code doesnt help.I dont see any change. Can someone please let me know how to remove the foll. class dynamically 'class="ui-state-highlight"'.Thanks in advance. any leads please?
 
    