Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dangerously_allow_code and Function Parsing updates #28

Merged
merged 18 commits into from
Feb 14, 2023
Merged

Conversation

BSd3v
Copy link
Collaborator

@BSd3v BSd3v commented Feb 9, 2023

  • allowed for other column prop functions to pass without disabling them if dangerously_allow_code is not passed
  • copying over columnDef dangerously_allow_code to allow for the prop to be placed only on the grid level
  • created a unified function parser to be easier to maintain
  • brought the props to iterate through into a separate js utils/functionVars.js file
  • switched to keeping params together instead of splitting into separate keys, to allow for easier transition to using AG Grid docs
  • updated test/test_add_remove_update_rows.py to apply the new variable configuration

BSd3v added 4 commits February 9, 2023 16:22
…isabling when they may be expressions instead
…ed from the grid initial layer

- Allowing for the style conditions to utilize other namespace functions, variables, and d3 formatting
- created a unified function parser to be easier to maintain
- brought the props to iterate through into a separate js file
- switched to keeping `params` together instead of splitting into separate keys, to allow for easier transition to using AG Grid docs
- updated `test/test_add_remove_update_rows.py` to apply the new variable configuration
@BSd3v BSd3v changed the title Adjusting columnDef test Dangerously_allow_code and Function Parsing updates Feb 10, 2023
BSd3v and others added 6 commits February 13, 2023 11:21
- adjusting (`updateColumnWidths()`) `columnSize` to only be auto called with the `onGridReady` function
…action`

- Adjusted `rowTransaction` to use `applyTransactionAsync` by default unless `rowTransaction.async` is passed as `false`
…action`

- Adjusted `rowTransaction` to use `applyTransactionAsync` by default unless `rowTransaction.async` is passed as `false`
- updated test file to test async updates
@BSd3v BSd3v requested a review from alexcjohnson February 13, 2023 17:12
Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Need to resolve conflicts, and let's remove the commented-out code block - it's there in the git history if we want it back 😄 - then this is ready to go 💃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants