bosskmk / pluto_grid

PlutoGrid is a dataGrid for flutter that can be controlled by the keyboard on desktop and web. Of course, it works well on Android and IOS.

Home Page:https://pluto.weblaze.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resizing Dual Grid after initialization

caymanmckee opened this issue · comments

Hopefully this is possible, but how do you change the Grid A vs Grid B display ratio after it has already been built? I have tried accessing the display from the state, but it is not possible to reassign a value. Changing the value passed into the widget also does not work since it is final:

display: new PlutoDualGridDisplayRatio(ratio: _subGridData.isNotEmpty ? 0.5 : 0.75),

As a side note, before we upgraded to the latest patch (we were behind about 2 major versions) the above code worked to programatically change the ratio

There is no function. should be added.

This issue is stale because it has been open for 30 days with no activity.

This issue was closed because it has been inactive for 14 days since being marked as stale.