Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I am not sure if this on discussion else where, can we make sort in theme_table ajax. I also would love to see also pager. Can any one guide me.
Thanks a lot..
Comments
Comment #1
rfayThis isn't clear enough to be a feature request. I imagine you're making a support request. It sounds like Views module might help you quite a lot, as it has AJAX updates on sort and such.
If you intend it to be a feature request, please state very clearly exactly what you want. If it's for D8, then do mark it as such. I set it to D7 assuming this was a support request.
Comment #2
vikramy CreditAttribution: vikramy commentedSorry, I am not so clear.
I will try to explain. For some of my custom modules, I use theme_table. The sort feature in theme_table, works great but I some how feel if we can include ajax sorting it would be really great.
I am not sure if I can use views for my need as all my tables where I get results are outside my drupal database. So I use db_set_active to switch connections.
Hope this is somewhat clear.
Comment #3
rfayComment #4
jhedstromI think this has been done now (at least for views).