TobiasBg on "[Plugin: TablePress] How to sort data by second row of table?"

ساخت وبلاگ

aniskhan001
Member
Posted 2 days ago #

Hello Tobias,

I'm using tablepress to populate some data here http://www.pointhacks.com.au/cards/table/

My problem is, the searching and sorting are not showing on this specific table (but working fine for other simple tables) as my data are based on the second row. I have seen this is possible by heading to https://www.datatables.net/examples/basic_init/complex_header.html but I cannot achieve the same on my site. Can you please help me on this?

Regards,
Anis.

https://wordpress.org/plugins/tablepress/

Hi,

thanks for your question, and sorry for the trouble.

Sorry, something like that Complex Header feature is not supported by TablePress. Tables can only have one header.

The reason why the JS features are not working, is that your table uses #rowspan#. The DataTables JS library does however not support such tables.

Regards,
Tobias

aniskhan001
Member
Posted 59 minutes ago #

Can you please explain why the search function is not there for this page? Does this happening for the same reason? Thanks!

Hi,

yes, that's what I meant. The search feature is added by the DataTables JS library, but that only supports tables that do not use #colspan# or #rowspan#.

Regards,
Tobias

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 117 تاريخ : چهارشنبه 15 ارديبهشت 1395 ساعت: 18:10