show nothing until filter is selected

show nothing until filter is selected

54696d2054696d20 Posts: 75Questions: 18Answers: 0

Using this example http://live.datatables.net/tobabovo/19/ I'm looking into how to NOT show data until someone selects a filter. In this example Grade

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,143Questions: 1Answers: 2,586

    Hi @54696d20 ,

    You can use jQuery's hide() and show() methods as in this here.

    Cheers,

    Colin

  • 54696d2054696d20 Posts: 75Questions: 18Answers: 0

    Thanks @colin I probably should have stated that I knew that way. Didn't know if you had something built in to where you could still show the table, but have a default message stating "select filter to view" Kind of like when you have nothing to show and you can use 'emptyTable' to show the message.

  • colincolin Posts: 15,143Questions: 1Answers: 2,586
    Answer ✓

    Hi, nope, there's nothing like that, I'm afraid. The control is outside the scope of the table so yo would need to do that method in the example,

    C

This discussion has been closed.