The first full open-source release of Dash AG Grid!
Removed
-
- Remove
agGridColumnscomponent due to deprecation in AG Grid v29, usecolumnDefsinstead. - Remove some hardcoded CSS
- Remove
-
#132 Remove prop
autoSizeAllColumns, use thecolumnSizeprop instead.
Added
-
- Add
classNameprop for css customization native to AG Grid - Add
enable*props for easier user / dash manipulation, for creating buttons - Add overarching
dangerously_allow_codeprop to grid props only provided at render, to keepcolumnDefsfrom receiving possible updates to execute malicious JavaScript (originally calleddangerously_allow_htmlbut renamed later) - Add
data_previousanddata_previous_timestampprops to allow easier change tracking in callbacks - Add
dashGridOptionsprop to allow for arbitrary use of AG Grid props not explicitly listed - Add
setRowIdprop to allowrowDatachange detection - Add
columnStateprop to retrieve the current state of the columns after user interaction
- Add
-
- Allow strings of functions to be passed as parameters to
valueGetterFunction,valueFormatterFunction. This allows for functions to be parsed even in a strict CSP environment. - Add row conditional formatting via
getRowStyle, acts similar tocellStyles - Add ability for custom parsing functions to be passed via the namespace
window.dashAgGridFunctions - Allow for
nullto be passed tocolumnSize, to prevent the fit to width or autosize being the only options
- Allow strings of functions to be passed as parameters to
-
- Allow for other column prop functions to pass without disabling them if
dangerously_allow_codeis not passed - Copy over
columnDefdangerously_allow_codeto allow for the prop to be placed only on the grid level - Keep
paramstogether instead of splitting into separate keys, to allow for easier transition to using AG Grid docs
- Allow for other column prop functions to pass without disabling them if
-
- Allow for
defaultColDefto be iterated through for functions - Add
tooltipComponentto be altered if it was list as a function object
- Allow for
-
#49 Safely handle more attributes when
dangerously_allow_codeis disabled:- Top-level attributes
rowClassRules,getRowStyle, andgetRowClass - Column attributes
cellClass,cellStyle, andcellClassRules
- Top-level attributes
-
#67 Function parsing recursive columnDefs
- Add more functions to be available for parsing
- Allow for recursively going through
columnDefs->childrenand master detail info
-
#76 Add logging function available by default, available via
{"function": "log()"} -
#111 Add
filterModelprop in order to capture the grid's active filters -
- Add new
columnSizeoptionresponsiveSizeToFit, which will adjust column sizes based upon grid size and columns added or removed - Add
columnSizeOptionsprop to modify the behavior chosen incolumnSize - Add ability to push
columnStateback to grid and replay the settings
- Add new
-
- Support
alignedGrids - Support functions with
tooltipComponentParams - Add
paginationInfofor read-only info from the grid's pagination - Add
paginationGoToto navigate to different pages
- Support
-#164 Support passing selectedRows functions or ids for performing selections
Updated
-
- Update AG Grid from v27.x to v29.x - see AG Grid Changelog for details.
- Update markdown renderer to use github markdown, and also have the ability to be passed a target for links, to avoid
dangerously_allow_code - Update
requirements.txt(Python dependencies for demos and docs) to allow the latest packages
-
- Change
selectionChangedtoselectedRowsto make props align with AG Grid - Allow
selectedRowsto persist
- Change
-
#70 Change
clickDatatocellRendererDatato more closely line up with what this does -
- Prop clean-up overhaul
- Remove
cellStylefrom the grid level, allowing more flexibility in customization, and alignment with AG grid - Allow for functions, styleConditions and regular dictionaries to be passed to the
cellStyleon all levels - Add
rowIdtocellClickeddata
-
#132 Change
columnSizeoption ofautoSizeAll->autoSize -
- Update React to
18.2.0 - Update
material-uito@muiforrowMenuRenderer
- Update React to
-#164 Update selectedRows to maintain persistence by utilizing rowIds if available
Fixed
-
- Fix conditional formatting for nested columns
- Fix issue where columns would not take edits or adjustments due to becoming static
-
#6 Fix props issue for
enableAddRows -
#45 Fix #44, markdown ignoring
target="_blank"to open links in a new tab. Now ifdangerously_use_codeisfalse, markdown cells honorcolumnDef.linkTarget, but ifdangerously_use_codeistrueyou MUST use the HTML syntax<a target="_blank">to achieve this, markdown syntax[text](url)will ignorecolumnDef.linkTarget. -
#47 Fix
virtualRowDataby setting the defaultrowModelType='clientSide' -
#81 Fix syncing issue with
rowData,virtualRowDatawhen cell edits and asyncrowTransactionsoccur -
#90 Fix
columnStateto be populated oncegridReady -
#92 Fix
defaultStylewhen nostyleConditionsis incellStyle -
#111 Fix templates to only populate when
dangerously_allow_code=True -
#132 Fix
columnSizeto update upon interaction -
- Fix
onRowDragEndto triggervirtualRowDataupdate - Fix all
virtualRowDataupdates to take into account sorting
- Fix
-
- Fix
openGroupswhere clearing out the set would cause issues - Fix
paginationGoToto work with a starting page
- Fix
-
#161 Fix the default style to be applied even when a style is given from the developer.
style.heightandstyle.widthalways exist but can be overridden if other values are provided in thestyleprop.
-#164
- Fix
comparatorto not be restricted to just params - Fix
paginationGoToto allow0to be passed