In the case of a date in a format such as 2020-12-31, it is faster if compared directly in the string state.
However, when sorting a string type such as 12/31/2020 or 31/12/2020, the year is behind and needs to be parsed, but the parsing speed is slow.
intcompare(dynamic a, dynamic b) {
final dateFormat = intl.DateFormat(format);
final _a = dateFormat.parse(a);
final _b = dateFormat.parse(b);
return _a.compareTo(_b);
}
In the state that the fixed column is loose due to the narrow width,
If the column width is reduced to secure the minimum width, a fixed column should appear.
If the grid starts without a fixed column and one column is fixed to the right, the column is fixed to the right, but the original column does not disappear and overlaps.
after change value from first row, position will go to next when i press enter or after i choose value from selected box, so i can not update value to another column at first row, it will change value to next row. May i disable next rows on change or any solution for my error.
Introduce a calculating cell , i.e. if a user puts simple formula in the text field like =(5*25) * .10 and press Enter then it must calculate and show the value 1.25
my flutter environment
[√] Flutter (Channel master, 1.22.0-10.0.pre.449, on Microsoft Windows [version 10.0.19041.508], locale fr-FR)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Professional 2019 16.7.5)
[√] Android Studio (version 4.0)
[√] Connected device (3 available)
First of all thank you very much for the widget and it has very promising future in Flutter.
For state manager, can you look into GetX https://github.com/jonataslaw/getx , i believe this library will reduce much of the boiler point code.
Also, will it be possible for you to explain the widget development, what logic does what. Have seen the code, still being new to Flutter, few things goes over head.
FocusScope works to give focus to a modal bottomsheet, but when data is changed, even though the Pluto grid is in a streambuilder, and the rows get rebuilt on each change of data, the grids state is being rebuilt, but not with new data.
Grid must take focus after clicking on Add/Remove Rows, as of now the Button "Add/Remove" gains the focus and focus remains on the button only. The focus must go back to the grid
I put a floating action button to showModalBottomSheet, and the grid seems to maintain focus/input unless you use a showBottomSheet not modal. Is there a prefered way to show a dialog/bottom sheet above a grid?
First of all thanks for the widget, it is really very good.
Seeing the documentation, I realized that the customization of the lines and cells will be done in the future. Do you have any plans to include height of lines and colors by cells?
i try make an example with status of product, on database i save as 0 and 1, on app i show it like block and use. But i don't known how to do this when i want update value to my database because it not 0 or 1, it block or use
i use pluto_grid with lib zoom_widget but I do zoom out and select is select cell wrong .I thing position have problem but i zoom in side my screen i select cell Correct.
and i have 1 question to ask i want to do cell can't select can or can't because i do all cell one column in left side i want to do same title column and i want to do can't click
in picture i select 2cell but error to select wrong
picture dishere i want to close to click to select left side to title