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

[Fix]: Table graph select column issue #464

Merged
merged 2 commits into from
Apr 26, 2021
Merged

Conversation

nxanil
Copy link
Collaborator

@nxanil nxanil commented Apr 22, 2021

@shashank-nx

Fixed issue #463. Please verify once.

@preshitg

Please review the changes.

@shashank-nx
Copy link
Contributor

@preshitg @nxanil

it's working fine.

@preshitg
Copy link
Contributor

@nxanil @shashank-nx What is this issue? Please describe either in this PR or in the github issue.

@@ -175,7 +176,7 @@ const TableGraph = (props) => {
updateScroll,
} = props;

if (!isEmpty(displayColumn)) {
if (!isEmpty(displayColumn) || isAllColumnSelected === true) {
Copy link
Contributor

Choose a reason for hiding this comment

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

!isEmpty(displayColumn) || isAllColumnSelected should suffice since isAllColumnSelected always has a boolean value

@nxanil
Copy link
Collaborator Author

nxanil commented Apr 26, 2021

@nxanil @shashank-nx What is this issue? Please describe either in this PR or in the github issue.

@preshitg
In Table graph, when selecting all the column to be display from selectColumn option and refreshing the table graph, it was reinitialized to show default selected column only.
selectColumn

@preshitg preshitg merged commit a462a30 into master Apr 26, 2021
@preshitg preshitg deleted the bug/Table-selet-column branch April 26, 2021 18:29
preshitg pushed a commit to preshitg/vis-graphs that referenced this pull request Apr 26, 2021
* [Fix]: Table graph select column issue

* [Done]: Feedback changes
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.

3 participants