• Resolved aralize

    (@aralize)


    Hi Peter,

    I’m asking for something that may be special!

    I do not want to display any row in my table, as long as no value is entered in the search field.
    The goal is to display only the reference that is entered in order to avoid displaying the whole table.

    Another alternative is to enter a value, then using a button to execute an SQL query which searches the table, but this is more complex.

    Thank you for your feedback.

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Hi Aralize,

    This feature is available in the premium version. It is explained here:
    https://wpdataaccess.com/docs/documentation/data-explorer/search-settings/#search-engine-like-search

    Enabling “No search condition = show no rows” gives a search engine like search. Is this what you are looking for?

    Best regards,
    Peter

    Thread Starter aralize

    (@aralize)

    Hi Peter,

    Indeed, I had seen this option but I do not have the Premium version of the plugin.
    Another alternative for me is to set a default table element, which says to do a search, but the line of code below only works once.

    “search”: {
    “search”: “42100”
    }

    I have also tried limiting the display to 1 row for the table, but the line of code does not work.

    “pageLength”:1

    Thanks in advance

    • This reply was modified 3 years, 3 months ago by aralize.
    Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Hi Aralize,

    You can only define options on startup. You cannot change them dynamically. Your best alternative with the free version is probably to implement your own search form and manipulate the dom using javascript.

    Maybe you can share your solution here? ??

    Good luck,
    Peter

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Specific research’ is closed to new replies.