Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Timeline addBackgroundClickHandler event not generated

$
0
0
1. SmartClient Version v10.0p_2015-03-14/Power Edition Deployment
(built 2015-03-14)

2. Browser IE 11.0.9 and Firefox 13.0
Be sure your post includes:


I'm trying to generate a action based of the selection of a timeline cell that contains no events. I thought that by adding a backgroundClickHandler an event would be generated when a empty cell was selected. In the event handler I hope to among other things call timeline.getLaneFromPoint to get the lane, also want to get lane headers. Anyway

My call back looks like: (copied by hand from a another system)

timeline.addBackgroundClickHandler( new BackgroundClickHandler(){
@Override
public void onBackgroundClick(BackgroundClickEvent event) {
SC.say("Made it");
}
}

In my full code just before I add this event handler I call timeline.addDateChangedHandler which works fine.

Is my understanding of backgroundClickHander incorrect/Am I doing something wrong or is this a bug.


Thanks ....

Viewing all articles
Browse latest Browse all 4756

Trending Articles