Monday, October 26, 2015

CellTree only expands on clicking icon

Hi,

I want to have a CellTree which expands when you click anywhere on the cell, not just on the icon. This seems to be an open issue: https://github.com/gwtproject/gwt/issues/8334 and of course the view is inaccessible so short of re-implementing the entire structure I wish to just hack around the problem by triggering a JavaScript click event using GQuery on the image icon when an item is selected. 

This it does not seem to work if I try click or mousedown (it seems to be the mousedown event that causes the expanding animation to start) on either the img element or the div.cellTreeImageIcon above it. I'd rather avoid using the TreeNode expandChildNode call because expanding the children individually breaks the animations.

Any ideas?

Thanks,
Jaron

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment