I want to be able to let the user click the heading and then sort the data either ascending or descending (similar to windows file explorer)
I have written a function to handle the sortation.
How do I detect when the heading is clicked? Also how to I change the text in the heading?
I have written a function to handle the sortation.
How do I detect when the heading is clicked? Also how to I change the text in the heading?
Comment