Support the ongoing development of Laravel.io →
posted 11 years ago
Views

I am using the footable sort table on github (https://github.com/bradvin/FooTable/blob/V2/demos/sorting.htm) . My table headers sort when I click on them. But the "Sort by" feature above the table does not perform sorting when clicked.

This is the problem I think:

<a href="#sort" class="sort-column" data-index="4">DOB</a>

Since I am using blade I thought I needed to change it to:

{{ HTML::link('#sort', 'DOB', array('class' => 'sort-column', 'data-index' => 4 )) }}

But this is not working either.

Is the link incorrect or is it another problem?

Last updated 3 years ago.
0

Can you post the JavaScript you are using ?

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

tyr5577 tyr5577 Joined 27 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.