• In Data Projects the search function consists of a text box and a separate search button. The search only happens when the search button is pressed.

    In Data Publisher publications the search is a live, Ajax supported text area. This provides a very responsive search. But, when used with a large database this can have a big impact on the site performance.

    Can the use of a search button be added as a choice. I don’t think it should be imposed on all publications but should be a choice.

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

    (@peterschulznl)

    Hi Charles,

    Interesting question! I have been researching, but have not found a satisfiable solution so far…

    The jQuery DataTables forum has some contributions on this topic. The advice is to remove the actual events from the search button in some post javscript function and add your own event to it. If you look into the runtime code however, there are several events added to this button and would not advice to just remove them all. That might also break with future development.

    From that perspective, I would rather suggest to hide the default search button and add your own. You can use css and js to put the button at the position of the original button, or just put it somewhere else.

    What do you think? Anyone else having an idea…?

    Best regards,
    Peter

    Thread Starter charlesgodwin

    (@charlesgodwin)

    Sounds workable. But in the publisher view there is no Search button, just the input field. Is that what you have in mind.

    Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Yes Charles! That input field is what I mean.

    Let me know if I can help…

    Best regards,
    Peter

    Thread Starter charlesgodwin

    (@charlesgodwin)

    good. i’ll begin thinking about it but don’t expect any feedback for a week or two.

    Thanks for your help

    Charles

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Another Change Request’ is closed to new replies.