Is it possible to add onEndDragIndicator or onIndicatorChanged and onIndicatorEditorCustomizer events for Timeline?
							
						
					Announcement
				
					Collapse
				
			
		
	
		
			
				No announcement yet.
				
			
				
	
X
- 
	
	
		
		
		
		
		
		
		
	
	
thank you very much. Everything works
is it possible to add that the indicator would react to the event addEventClickHandler or setEventEditorCustomizer?
I have now solved the problem this way
private native void initDeadlinesCallbacks(Object object) /*-{
var self;
var instance = this;
if(this.@com.smartgwt.client.widgets.BaseWidget::isCreated()()) {
self = object.@com.smartgwt.client.widgets.BaseWidget::getJsObj()();
} else {
self = object.@com.smartgwt.client.widgets.BaseWidget::getConfig()();
}
self.indicatorClick = function (event, name) {
instance.@com.abcd.widgets.tasks.tasksDialog::deadlineClick(*)(event, name);
};
}-*/;
but it's uglyLast edited by Hirn; 25 Nov 2019, 01:02.
Comment
 - 
	
	
		
		
		
		
		
		
		
	
	
We've exposed a few APIs In builds dated December 1 and later - there's now an addIndicatorClickHandler(), so you can get rid of your JSNI that does that, and there is now also a read-only eventCanvas.getIsIndicatorCanvas () API, an alternative to checking for a zero-duration.
Note that matching ZoneCanvas APIs have also been exposed.
For future reference, we don't get notification-emails when users edit their posts, so we didn't realise you'd followed up here. Please add new posts when you have new information.Last edited by Isomorphic; 30 Nov 2019, 02:16.
Comment
 
Comment