justpy icon indicating copy to clipboard operation
justpy copied to clipboard

AG Grid - JavaScript field evaluation - Nested fields

Open bapowell opened this issue 3 years ago • 1 comments

Referring to Tutorial-Grids-FieldEvaluation, this currently only handles fields at the top level of the options dictionary.

An improvement would be to handle nested fields that need to be JavaScript-evaluated.

An example would be formatting functions defined in columnTypes and/or columnDefs.

bapowell avatar Aug 31 '21 16:08 bapowell

Yes, in the new version (coming out in a couple of days), this is implemented. Every field that has formatter in its name, is evaluated as a javascript expression.

elimintz avatar Sep 01 '21 13:09 elimintz

formatter is currently only in a comment: #TODO: Handle formatter functions, for example in dataLabels and others. in chartcomponents

future idea or next milestone?

WolfgangFahl avatar Aug 21 '22 19:08 WolfgangFahl

I believe @rodja suggested separating issues with components from the core functionality and stability. I think we should focus on the latter. AgGrid has so many features, it would be a big task to accommodate all of them

elimintz avatar Aug 21 '22 20:08 elimintz