Okay
  Public Ticket #1337970
Veriable data columns
Closed

Comments

  • neilgilmour started the conversation

    Hello,

    I'm trying to create data tables and charts based on a variable number of columns and rows.

    Case:

    • There are a variable number of users for each source.
    • Each user has a variable number of groups with a numeric integer (average score).

    From what I see I can only generate datatables from JSON or PHP sources with a fixed number of columns (because of the column configuration).

    Is there a way to create datatables and charts fully dynamic based on PHP input. Maybe a form of API to call?

    I can't find anything in the documentation.

    Thanks in advance!

  •  472
    Isidora replied

    Hi neilgilmour,
    Thank you for your purchase.

    Unfortunately, it's not possible to create tables based on a variable number of columns and rows. Because our plugin makes table with fixed number of columns. We don't have API to call.

    You can try with a list of actions and filters defined in wpDataTables plugin that you can use to customize it for your needs on this link.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables

  • neilgilmour replied

    Hello Milan,

    We've already checked the actions and filters but there doesn't seem to be any hooks what allow what we want to do.

    Sorry to hear there is no option for this, we will search for another solution.

    Regards, Jory (project dev)