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

BaseTable visibility settings with disabled and hidden #51

Closed
amivanoff opened this issue Dec 21, 2021 · 0 comments · Fixed by #52
Closed

BaseTable visibility settings with disabled and hidden #51

amivanoff opened this issue Dec 21, 2021 · 0 comments · Fixed by #52
Assignees

Comments

@amivanoff
Copy link
Member

amivanoff commented Dec 21, 2021

The main principles of visibility settings

  • show all confiured columns by default if not configured otherwise
  • hide all non-confiured columns by default if not configured otherwise

Properties specification

  • Add "disabled" property to the columns settings:

    • if this property is omitted from the columns settings, then:
      • if column exists in "order" or "column settings" then false (consider it enabled by default)
      • if column did exists in "order" or "column settings" then true (consider it disabled by default)
    • false -- see "hidden" property
    • true -- hide in the table, hide in the settings menu/dialog. Overrides "hidden" property
  • Add "hidden" property to the columns settings:

    • if this property is omitted from the columns settings, then false (show all confiured by default)
    • false -- show column in the table, show in the settings menu/dialog as checked/selected
    • true -- hide column from the table, show in the settings menu/dialog as unchecked/unselected
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 a pull request may close this issue.

2 participants