How to open A specific searchPane use using ajax

How to open A specific searchPane use using ajax

kailashkds0kailashkds0 Posts: 4Questions: 1Answers: 0

I am using callback to get data for my datatable. I have couple of searchpanes in it. I have collapsed all searchpanes by setting
searchPanes: {
initCollapsed: true
}
Now if I want to open specific searchPane is it possible.

Thanks

Answers

  • colincolin Posts: 15,236Questions: 1Answers: 2,598

    If you mean programmatically, yep, that's possible, something like this example would do the trick:

        $('.dtsp-searchPane:eq(2)').find('.dtsp-collapseButton').click()
    

    Colin

Sign In or Register to comment.