gwtbootstrap3 / gwtbootstrap3-extras

Extra (third party) wrappers for GwtBootstrap3
Apache License 2.0
43 stars 89 forks source link

getView() undefined #350

Closed saadhamouine closed 5 years ago

saadhamouine commented 5 years ago

Hi, I'm trying to use the getView method so i would know the start and end date of my view but it always returns undefined.

sjardine commented 5 years ago

This is not nearly enough information to even comment. Please provide a verifiable test case.

saadhamouine commented 5 years ago

Ok here's a simple test case. I want to only load events from the DB that exist in the timeframe of the View(Month, Week, Day) // FullCalendar calendar = new FullCalendar("id",Viewoption.month,....); Date start = calendar.getView().getStart(); Date end = calendar.getView().getEnd(); DB.loadevents(start,end); // the problem is the method getView returns always null.

sjardine commented 5 years ago

I'm sorry. This is not really a test case. Please fork the gwtbootstrap-seed project, modify the project to identify the problem and then send me the link to your project.