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

Does 'hide' for column work dynamically? #1311

Open
dextersy opened this issue Apr 13, 2022 · 1 comment
Open

Does 'hide' for column work dynamically? #1311

dextersy opened this issue Apr 13, 2022 · 1 comment

Comments

@dextersy
Copy link

dextersy commented Apr 13, 2022

I'm trying to show and hide certain columns dynamically and I thought it would be possible to do that by changing the "hide" setting to true or false, like so:

public toggleCheckColumns(display: boolean) {
    console.log("Toggle check columns = " + display);
    this.settings.columns["bankName"].hide = !display;
  }

However, it doesn't seem to do anything. Am I missing something?

@maximLyakhov
Copy link

@dextersy you can iterate over your settings object, copy it and substitute with desired config.

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

No branches or pull requests

2 participants