Set the Class parameter of the Grid, so that the JS function will work only for the Grid and not on the whole page.
Passed that Class to the JS function as a parameter.
Used query selector to the all th elements and filtered them by the name of the Column.
Append the k-state-active CSS class to the corresponding div element.
Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic. Our thoughts here at Progress are with those affected by the outbreak.