This is a migrated thread and some comments may be shown as answers.

[Solved] Filter dialog disappears on Javascript trigger

0 Answers 22 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andrew
Top achievements
Rank 1
Andrew asked on 30 Jan 2012, 02:57 PM
Hi,

I found this code on these forums:

$('.t-grid-filter:first').trigger('click'); 


Which is exactly what I'd like to do: Have my own button that displays the filter dialog for a particular column.

However, the dialog briefly displays then slides up as if I had clicked again to hide the filter box.

I get the same response by using $("....").click() on the filter buttons.

Do I have to specify a filter first? I'm just trying to add some convenience buttons on a main search page for our users.

Thanks,
Andrew
Tags
Grid
Asked by
Andrew
Top achievements
Rank 1
Share this question
or