Comments (2)
Great! Thanks for that. I didn't see anything about that in the breaking changes section of the notes so I came here. Works great. Thank you!!
from flutter-widgets.
Hi @xxJeevesxx,
We have validated the reported issue ‘Setting view property of SfCalendar does not work dynamically’. We have introduced view property on the controller, that handles dynamic view updates, and the view property on SfCalendar does not support dynamic updates.
Please find the code snippet for the dynamically changes in the calendar view.
CalendarController _controller;
@override
void initState() {
_controller = CalendarController();
_controller.view = CalendarView.day;
super.initState();
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Center(
child: SfCalendar(
controller: _controller,
),
),
floatingActionButton: FloatingActionButton(
onPressed: () => _controller.view = CalendarView.week,
tooltip: 'Week View',
child: Icon(Icons.view_week),
),
);
}
We hope that this helps you. Please let us know if you need further assistance.
from flutter-widgets.
Related Issues (20)
- How to remove spaces at the beginning and end of SfCartesianChart HOT 2
- [syncfusion_flutter_charts] custom intervals HOT 2
- [syncfusion_flutter_datagrid] Programmatic Filtering not trigger onFilterChanged HOT 3
- [syncfusion_flutter_datagrid] checkbox flashing HOT 1
- Incorrect annotation placement for region plotArea? HOT 1
- [syncfusion_flutter_datagrid] Next page button not trigger `onPageNavigationStart `function, previous page not trigger `onPageNavigationEnd` HOT 1
- Scroll to top on date change [SfCalendar - CalendarView.schedule] HOT 1
- [syncfusion_flutter_datagrid] DataGridSource was used after being disposed with SfDataPager HOT 1
- End repeat bug HOT 1
- Sample report created
- How to get exact point (x,y) of specific data.
- Inquiry about Grouping Rows within a Row in Data Grid HOT 3
- Widget takes forever to load when password encrypted file is opened on Desktop HOT 9
- [SfMaps] issue when use geogson has a ring inside MultiPolygon Feature HOT 7
- need widget on onMarkerRender HOT 3
- [syncfusion_flutter_charts] RangeError when using trackball HOT 4
- zoomMode: ZoomMode.xy in stacked coloumn chart HOT 2
- Inquiry about Gridline Color and Width in sfdatagrid Flutter HOT 1
- Getting this error on crashlytics HOT 5
- Errors while adding values to a StackedColumnSeries during runtime with updateDataSource HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-widgets.