• Resolved cosima53

    (@cosima53)


    Hi,

    I’m trying to create a table with categories and some sort of navigation at the top (a drop down list, maybe?) to help folks look through a large amount of data. Any chance you could point me in the right direction on how to do this with tabelpress/whether or not it’s possible?

    Thanks so much,
    Lucy

    http://wordpress.org/plugins/tablepress/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Hi Lucy,

    Thanks for the question. Please look at this post:
    http://wordpress.org/support/topic/pre-determined-search-terms

    Maybe the answer is what you needed.

    Regards,
    Haoxian

    Thread Starter cosima53

    (@cosima53)

    Thanks so much!

    Sure, you are welcome. Just let us know if you need further assistance.

    Thread Starter cosima53

    (@cosima53)

    I’m having trouble understanding how to make the extension work. Do I need to install both DataTables and the filter widget? I installed the column filter plugin but can’t seem to find any options related to it on my dashboard and the shortcode for it doesn’t seem to do anything.

    Thanks for all your help,
    Lucy

    Hi, Lucy

    You don’t need to install DataTables as well because TablePress has done it for you.

    The extension works just like a normal WordPress plugin, so install it like you install TablePress and it’ll work.

    But the usage is a little different. For this extension only, you just need to change the ShortCode (like [table id=123 /]) to others, like:

    [table id=123 datatables_columnfilterwidgets=true /]

    The string datatables_columnfilterwidgets=true means you’ve using this extension.

    And if you use the following ShortCode,
    [table id=123 datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns=2,3,4 /]
    The TablePress table with id number 123 will be datatables_columnfilterwidgets enabled, and all the columns will get the effect, except for column 2,3,4.

    Regards,
    Haoxian

    Thread Starter cosima53

    (@cosima53)

    Okay, that makes sense. But where do I set up the categories for the drop down list? Sorry to be difficult– I might just not be understanding the plugin. The live example on datatables shows a drop down list at the top, which was what I was hoping to do:

    http://datatables.net/extras/thirdparty/ColumnFilterWidgets/DataTables/extras/ColumnFilterWidgets/

    Thanks for being so patient!

    I’m not sure whether I understand completely. Does “categories” means the name of the four lists on the live demo page?

    Thread Starter cosima53

    (@cosima53)

    Yeah. I’m trying to create a table of how legislators voted on key bills during the past session with a drop down list of issues for people to choose from (environment, abortion, etc.) that would bring up votes related to the issue chosen from the menu.

    As you can see from the demo table, the NAME of each dropdown list is exactly the content of the corresponding cell in the head row of the table. That is name of column.

    If that’s what you mean, you could just put category names in the first row of the table, then scroll down to “Table Options” section in this table’s EDIT screen and tick on the “Table Head Row: The first row of the table is the table header.”

    Hi Lucy,

    Sorry for my bad English. If in a hurry, it becomes incomprehensible.

    And sorry for that I must leave now. Maybe later, or Tobias, the author, could help you instead.

    Best wishes,
    Haoxian

    Thread Starter cosima53

    (@cosima53)

    Thanks for all your help! Got the drop down list to show up, but it doesn’t seem to be working.

    http://www.accountabilitync.com/nc-house-of-representatives/rep-bobbie-richardson-d-franklin/

    Thread Starter cosima53

    (@cosima53)

    Nevermind! Seems to be working now. Thanks so much!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    very nice! Good to hear that it’s working!
    A big thank you to Haoxian for helping to solve this problem!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘is it possible to create categories?’ is closed to new replies.