Search pane filter apply after button click

Search pane filter apply after button click

valredrvalredr Posts: 21Questions: 7Answers: 0

The search pane is awesome but
Can you please implement the search pane on button press
as in in set the filter then click on button and then it shows me the data.

Incase this is already implemented please guide me on the same

This question has an accepted answers - jump to answer

Answers

  • sandysandy Posts: 913Questions: 0Answers: 236

    Hi @valredr ,

    As mentioned on the other post, this is the first request we have had for something along those lines. It's also not something we can see a lot of use for as that isn't too dissimilar from just selecting the row. Because of this we aren't planning on integrating any behaviour like that.

    Thanks,
    Sandy

  • valredrvalredr Posts: 21Questions: 7Answers: 0

    @sandy Thanks for your reply.
    i am currently implementing a search pane integration in which i need to get the filters from 4 search panes.
    i am able to get the selected value but i am unable to determine from which pane is the value originating from.
    Any helpf from your side will be appreciated

  • colincolin Posts: 15,177Questions: 1Answers: 2,590

    You can use jQuery selectors to get the selected lines in each SearchPane, something like:

    $('.dtsp-searchPane:visible:eq(2) tbody tr.selected')
    

    Colin

  • valredrvalredr Posts: 21Questions: 7Answers: 0

    hi @colin thanks for your reply

    is is to possible to get all filter from all frame on click of any of rows of the search pane.

    As there is no button to trigger the search i am setting up click event of the rows of the search pane to send the same filter to another control.

    Any help in this will be appreciated.

  • sandysandy Posts: 913Questions: 0Answers: 236
    Answer ✓

    Hi @valredr ,

    You could try something along these lines...

    $('.dtsp-searchPane:visible tbody tr').on('click', function() {
        console.log($('.dtsp-searchPane:visible:eq(2) tbody tr.selected'));
      });
    

    You can edit the jquery selectors to meet your needs.

    Thanks,
    Sandy

Sign In or Register to comment.