How to add asc and desc sort symbols in drupal views?
I have a drupal 7 view, consists of table. I need to add sort symbol (both asc and desc) in view header by default if no sorting applied.
I tried with altering views-view-table.tpl.php file, and added asc, desc images for each header.
But I need proper solution, Is there any hook there to alter the table headers?
I need table headers like here : http://ng-table.com/#/sorting/demo-sorting-basic
This article was republished from its original source.
Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.