Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

jquery filter / sort for html tables in admin


bruyndoncx

Recommended Posts

I'm missing search functionality on some oscommerce screens.

I was looking for a jquery solution to allow first of all for filtering and (optionally) sorting.

 

I found this one which looks good and is MIT license

http://www.picnet.com.au/picnet-table-filter.html

 

I implemented it on my banner_manager, filtering works but just on the shown products, so I need to disable the pagination.

 

Now, before I start to tweak my code further, I was just wondering if I'm not reïnventing the wheel and if something doesn't exist already, or might be in the pipeline for the next release.

 

I tried to include screenshot but it fails.

 

As it currently works, install was quite easy,

- uploaded table filter js file to the server

- added jquery library and this script to the head section

- added a few extra <thead><th> and <tbody> tags

- added css id to the <table> tag

post-33440-0-16764300-1375189452_thumb.jpg

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

Thanks for the link.

Looking quickly at some examples, they might be compatible. I'll have to give it a try ...

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...