I want to store the text of a click event in a variable. Here is the current code I am using:
<th (click)="sortedColumn = clickValue">Ask Price</th>
When a user clicks on the table header, I need it to save the value "Ask Price" in the sortedColumn
variable.