Search
Calendar.ensureVisible Method (DateTime, Resource)
See Also
 






Ensures that the specified date is visible within the control, scrolling the contents of the control if necessary. The resource parameter allows specifying a Task, Location, Contact or Resource for which to display the date in a view with enabled grouping.

Namespace: com.mindfusion.scheduling
Package: com.mindfusion.scheduling

 Syntax

Java  Copy Code

public void ensureVisible (
    DateTime date,
    Resource resource
)

 Parameters

date

A DateTime instance identifying the date to scroll into view.

resource

A reference to Task, Location, Contact or Resource whose group to display in the view.

 Remarks

This method does nothing if the specified date is not included in the time-period displayed in the current view.

 See Also