Okay
  Public Ticket #1577578
I'm ready to buy your product but I need a specific feature that my current application provides
Closed

Comments

  • Tamir Halperin started the conversation

    I have two lists on the same page...  A customer list and a task list to show the tasks I must complete for each client. As I click on a client, the task list refreshes to show the tasks for that newly clicked client. Can I do this on the same page with your product without reloading the webpage to show the new tasks each time I click on a new client?

  • [deleted] replied

    Hi Tamir,
    Thank you for your inquire.

    If I understood you correctly you want to choose client and then show same data related to the client. With our product you can do it with powerful filters Add-on - Documentation. This Add-on will allow you to show only filter like selectbox or checkbox on the start and show the table after filter is applied.

    So you need to have one table with column of clients and another column (or more of them) with client tasks. You can even hide client column if you prefer and still have filter which will apply.

    For testing purpose we have sandbox website where you can see and test all plugin functionalities

    sandbox.wpdatatables.com

    username: demo

    password: demo


  • Tamir Halperin replied

    This is not exactly what I am looking for and I am sorry that I was not specific enough in my question. Since this is a truly relational database application, my clients and my tasks are not in the same table. One table is called 'Clients' and the other table is called 'Tasks'. I would like two different objects on the page to be able to speak to each other. In my case, i would like to click on a client in the first list, populated by the 'Clients' table, and the list next to it on the same page, populated by the 'Tasks' table, will be automatically refreshed without needing to reload the entire page. I have seen AJAX being used to create such a functionality that doesn't require reloading the page in order to refresh the list of tasks in the task list when a client in the client list is selected.

  • [deleted] replied

    Hi Tamir,

    Unfortunately we do not have such an option at this moment. With our plugin you can write a query that will join two tables from database in one wpDataTables table and then use filters to show information that you need 

  • Tamir Halperin replied

    Here is what I am thinking about. List1 on Page1 is a result of wpdatatables and so is List2 on Page1. They are each independently generated lists using your plugin. I want List2 to be aware of which item is currently selected in List1 and to filter itself accordingly so that only the tasks of the currently selected List1 client appear in List2. I was thinking perhaps something related to JSON or AJAX could accomplish the communication between the two lists as long as List1 can expose the currently selected ClientID and List2 could use this exposed variable as a criteria for filtering its own datasource. If all of this could happen without reloading the page, it would be wonderful. What do you think?

  • [deleted] replied

    Hi Tamir,

    This could be done but not with built in options. It will require developing a custom solution.