Hi All,

I have created a drupal list page like client list.Now i have to sort the columns in ajax with out loading the page again.
So please let me known is any one done this job before.

Thanks in advance for your help.

Comments

rfay’s picture

Component: ajax system » javascript

I'm sure you want to use the tablesort facility. I think a Google search on tablesort will get you started.

sidharthap’s picture

Thanks rfay,

my requirement is to sort the columns and pagination also in Ajax. So that if user sort by any column then the page will not load again.

Thank You

nod_’s picture

Title: Needs ajax sortable header in drupal list page » Ajax sortable header in drupal list page
Version: 6.9 » 8.x-dev
Category: support » feature
Priority: Major » Normal

We'll need to have a way to bookmark this (and there are better things that bbq around).

It'll be quite tricky to achieve properly but that could be interesting.

nod_’s picture

Status: Active » Postponed

If someone is up for it, reopen, otherwise I'll just let it here, no plan for working on that.

r3z0nate’s picture

I have an example if you are still looking to do this. Although I have not gotten the form items to work correctly.

sidharthap’s picture

Yes, please.I am still want to have a look.

nod_’s picture

Status: Postponed » Closed (fixed)

We have views in core now. It does it.

sidharthap’s picture

yes, it is Drpal 8. i will have a quick look. Thank you