I am using YiiBooster extensions --> TbExtendedGridView --> The Grid/Chart switcher in my application. Grid/Chart Switch
So by default it displays the Grid view and we can select chart option too. Does anyone know how can I change it to chart as the default view when the page is loaded.
I was looking into TbExtendedGridView.php but did not find how to change that. I would really appreciate if you could help me on this.
Thanks.
They added this property in the chartOptions in the extension on request.
.defaultView, which is a flag used to set the chart as the default view of the widget
Thanks for all the help