Capture table sort event

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

User avatar
priyank
Ebase User
Posts: 10
Joined: Tue Sep 18, 2012 6:02 pm
Location: India
Contact:

Capture table sort event

#1

Postby priyank » Thu Jan 24, 2013 5:19 pm

Hello!

I need to know how can we execute some script on table sort event.

I require this since I need to set correct accordion panel when page is refreshed after table sort.

Thanks
0 x

User avatar
Wai
Moderator
Moderator
Posts: 165
Joined: Wed Sep 12, 2007 9:04 am
Location: Sandy, UK
Contact:

#2

Postby Wai » Fri Jan 25, 2013 12:41 pm

There is no event on the table sort icon. Does your form have Ajax enabled? If not, the page refreshes, therefore you can add some javascript to the head of the page for setting the accordian.

Also, I haven't tried it but you may be able to get the sort image via it's class which contains 'tableSort' in the class name. Then you may be able to bind an event on to it.
0 x


Who is online

Users browsing this forum: No registered users and 44 guests