Hi there,

I have a DataTable where rows are clickable and open a detail page when 
clicked. No problem so far.

But: in one column I have a (Bootstrap) dropdown which won’t open any more 
because the row’s click handler is too greedy and the dropdown won’t receive 
the click event.

I added the row’s click behavior like that in my DataTable impl:

protected Item<T> newRowItem(String id, int index, IModel<T> model) {
   Item<T> item = super(newRowItem(id, index, model);
   item.add(new AjaxEventBehavior(„click“) {
      @Override
      protected void onEvent(AjaxRequestTarget target) {
         // ...
      }
   }
}

Anything I can do about that?

Cheers,
   Tom


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to