Hide data until filtered

Hide data until filtered

lauralaura Posts: 14Questions: 0Answers: 0
edited September 2010 in General
I'm not sure if this is possible, so I thought I'd check here.

By default, I would like to show ONLY the filter input field, and hide all existing data until someone enters data into the filter field.

Is this possible? And if so, could you point me in the right direction on how to accomplish this?

Thanks very much :)

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Hi Laura,

    What you could do is put an event listener on the filtering input (keyup for example) which will check that value of the text box, and then decide if the table should be shown or hidden. A simple settings of the CSS display attribute would do - although might be quite brutal on the display :-)

    Allan
This discussion has been closed.