Skip to content

Change some utils to use columns array instead of entire model#254

Merged
mattrunyon merged 1 commit intodeephaven:mainfrom
mattrunyon:fix-util-model-params
Oct 21, 2021
Merged

Change some utils to use columns array instead of entire model#254
mattrunyon merged 1 commit intodeephaven:mainfrom
mattrunyon:fix-util-model-params

Conversation

@mattrunyon
Copy link
Collaborator

Related to #208 and tangentially #229

This changes specific utils to not take the entire model since they don't really need the whole model. For things that hydrate/dehydrate the entire grid or panel, the model is still passed even though it is only used for its columns as those methods might make use of the model in the future.

Also reverts applySettingsToTable to use a table because the only place it is called has a table that does not have a model associated with it. The table is then used to create a chart.

@mattrunyon mattrunyon added enhancement New feature or request web-client-ui labels Oct 21, 2021
@mattrunyon mattrunyon requested a review from spasovski October 21, 2021 21:21
@mattrunyon mattrunyon self-assigned this Oct 21, 2021
Copy link
Contributor

@spasovski spasovski left a comment

Choose a reason for hiding this comment

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

Looks good - I like the idea of sending the columns directly.

@mattrunyon mattrunyon merged commit 64aa796 into deephaven:main Oct 21, 2021
@mattrunyon mattrunyon deleted the fix-util-model-params branch October 21, 2021 21:57
@mofojed mofojed mentioned this pull request Oct 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request web-client-ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants