Simply do a table_goodness.searchBuilder.container().show("slow") when ADD CONDITION clicked?

Simply do a table_goodness.searchBuilder.container().show("slow") when ADD CONDITION clicked?

Jim NayziumJim Nayzium Posts: 4Questions: 2Answers: 0
edited August 6 in Free community support

I have been able to do this easily:

table_goodness.searchBuilder.container()
     .addClass('alert alert-success');

after my initial call of

var table_goodness = $("#table_goodness").DataTable({
    /// ... table awesome sauce here
});
table_goodness.searchBuilder.container()
       .addClass('alert alert-success');

All I am trying to do is whenever the ADD Condition button inside the searchBuilder is clicked it would then do the equivelant of

table_goodness.searchBuilder.container()
   ._added_condition_element/part_i_cant_figure_out_.show("slow");

I also tried

table_goodness.searchBuilder.container().
     on("change", function (){ /// });

to no avail assuming the actual container having a div added doesn't trigger a "change" event.

Any help is greatly appreciated, and thanks for the amazing code in DataTables!

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 16,363Questions: 25Answers: 3,886
    Answer ✓

    Its unclear to me what you are trying to do. What is your requirement?

    Kevin

  • Jim NayziumJim Nayzium Posts: 4Questions: 2Answers: 0

    I marked your answer as helpful but honestly I was trying to let you know I appreciated it.. I solved this a different way all together and when I re-read my question I was confused also! hahhaha...

    I found the BUTTONS and found the "searchBuilder" button. It does pretty much what I needed.

Sign In or Register to comment.