Releases: bosskmk/pluto_grid
Releases · bosskmk/pluto_grid
Release list
PlutoGrid 2.10.0
Added features
- Added export as csv. (Contributed by @henry2man)
- Added PlutoGrid.of method. (Contributed by @Hu-Wentao)
- Added persian locale. (Contributed by @hos3ein)
PlutoGrid 2.9.0
Added features
- Added
expandedColumnof columnGroup.
You can vertically expand one column in a column group. - Added row color animation when dragging rows.
- Added F3 key action.
When the column filter is active, the current focus moves to the column filter.
When the focus is on the column filter, the column filter popup is called. - Added ESC key action to moving previous cell in column filter widget.
Changes focus to the previous cell with the column filter in focus.
If you press the down arrow key, the focus moves to the cell below the first row. - Added done button action for mobile.
The keyboard is closed when the cell is in the editing state and the done button on the mobile is tapped. - Added insert, remove columns.
https://weblaze.dev/pluto_grid/build/web/#add-and-remove-column-row - Added allowFirstDot to PlutoColumnTypeNumber.
Added option to enter minus sign on mobile devices where the ".,-" sign is in one button.
Note to users of previous versions
- Changed the default value of enableMoveDownAfterSelecting to false.
- Changed a minimum flutter version to 2.5.0.
- Changed to be changed in real time when changing the column width.
- Changed pagination logic.
- Removed isShowFrozenColumn method of PlutoGridStateManager.
- Removed resetKeyPressed, setKeyPressed methods of PlutoGridStateManager.
- Fixed screen not being able to touch due to scroll range error when resizing the screen.
PlutoGrid 2.8.0
Added features
- Added
columnGroups. - Added
columnHeight, columnFilterHeight.
Note to users of previous versions
- Changed the default value of
enableGridBorderShadowfrom true to false. - Changed interface of
toggleSortColumn, sortAscending, sortDescending, sortBySortIdxmethods.
void toggleSortColumn(Key columnKey); // less than 2.8.0
void toggleSortColumn(PlutoColumn column); // 2.8.0 or later
void sortAscending(PlutoColumn column); // less than 2.8.0
void sortAscending(PlutoColumn column, {bool notify = true}); // 2.8.0 or later
void sortDescending(PlutoColumn column); // less than 2.8.0
void sortDescending(PlutoColumn column, {bool notify = true}); // 2.8.0 or later
void sortBySortIdx(); // less than 2.8.0
void sortBySortIdx(PlutoColumn column, {bool notify = true}); // 2.8.0 or laterPlutoGrid 2.7.0
Added features
- Added to be able to set the left and right padding of the cell.
You can set the left and right padding values withdouble defaultColumnTitlePaddinganddouble defaultCellPaddingin the configuration property. - Added option to automatically enter edit state when selecting a cell.
https://weblaze.dev/pluto_grid/build/web/#feature/editing-state - Added keyboard move option with left and right arrow keys when reaching the left and right ends of text in edit state. (by
PlutoGridConfiguration.enableMoveHorizontalInEditing) - Added
titleSpanproperty to custom text or icon in column title. - Removed
readOnlyproperty ofPlutoColumnTypeand added toPlutoColumn. - Added
checkReadOnlycallback to dynamically manipulatereadOnlyproperty.
https://weblaze.dev/pluto_grid/build/web/#add-and-remove-rows - Added
gridPopupBorderRadiusproperty to round the corners of popups used inside the grid.
Note to users of previous versions
- Removed
readOnlyproperty ofPlutoColumnTypeand added toPlutoColumn.
ThereadOnlyproperty has been changed from the existingPlutoColumnTypetoPlutoColumn, so if you are using thereadOnlyproperty in your existing code, you need to modify the code.
PlutoGrid 2.6.0
added features
- Added dynamically row background color. Web demo
- Added optional border radius. (Round the grid corners through the borderRadius property in the PlutoGrid constructor.)
- Added align column title text. (Align column titles via titleTextAlign in the PlutoColumn constructor.)
- Added to receive the moved row to onRowsMoved callback when a row is moved by dragging, etc.
- Added shortcuts. (Alt + PageUp or PageDown. Moving a page in the paging state.)
- Modified so that onSelected callback is called with one tap in
PlutoGridMode.selectWithOneTapmode. - Fixed an error where arrow keys and backspace keys did not work in Desktop.
- Fixed insert, append, prepend rows bug.
- Renamed PlutoGridMoveUpdateEvent to PlutoGridScrollUpdateEvent.
