You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "stgztsw (via GitHub)" <gi...@apache.org> on 2025/09/22 10:27:20 UTC
[D] How to make the filter bar horizontal In Superset4.0.2 [superset]
GitHub user stgztsw created a discussion: How to make the filter bar horizontal In Superset4.0.2
How to make the filter bar horizontal In Superset4.0.2?
In Superset6.0.0 I can config it in below page, but in Superset4.0.2 i can not foun this function.
<img width="588" height="1066" alt="image" src="https://github.com/user-attachments/assets/07ee92a5-355e-45fe-8a2b-ca9f587f01b5" />
GitHub link: https://github.com/apache/superset/discussions/35228
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [D] How to make the filter bar horizontal In Superset4.0.2 [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
GitHub user dosubot[bot] edited a comment on the discussion: How to make the filter bar horizontal In Superset4.0.2
<!-- Answer -->
In Superset 4.0.2, the filter bar orientation (horizontal or vertical) is only configurable in the code, not through the UI or dashboard settings. The codebase includes both horizontal and vertical filter bar components, but the orientation defaults to vertical and there is no user-facing option to change it—unlike Superset 6.0.0, where you can set this in the dashboard properties UI [reference](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/index.tsx).
If you need a horizontal filter bar in 4.0.2, you would have to modify the source code to set the `orientation` prop to `HORIZONTAL` in the relevant dashboard filter bar component. There is no workaround via dashboard metadata or properties modal in this version [reference](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/dashboard/types.ts).
**Comparison:**
| Feature | Superset 4.0.2 | Superset 6.0.0 |
|--------------------------------|-------------------------------|-------------------------------|
| Filter bar orientation config | Code-only, not in UI | UI dashboard property |
| Default orientation | Vertical | User-selectable |
| Horizontal layout available | Yes (code-level only) | Yes (UI option) |
Let me know if you need details on how to change the code, or if you have other questions!
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).*
---
Docs are dead. Just use [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-tagline&utm_term=apache%2Fsuperset).
[](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-feedback&utm_term=apache%2Fsuperset&message_id=df242012-39fa-4792-b833-7509d3f7d703) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-ask-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=static-docs-share-team&utm_term=apache%2Fsuperset)
GitHub link: https://github.com/apache/superset/discussions/35228#discussioncomment-14475175
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [D] How to make the filter bar horizontal In Superset4.0.2 [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
GitHub user dosubot[bot] added a comment to the discussion: How to make the filter bar horizontal In Superset4.0.2
<!-- Answer -->
In Superset 4.0.2, the filter bar orientation (horizontal or vertical) is only configurable in the code, not through the UI or dashboard settings. The codebase includes both horizontal and vertical filter bar components, but the orientation defaults to vertical and there is no user-facing option to change it—unlike Superset 6.0.0, where you can set this in the dashboard properties UI [reference](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/dashboard/components/nativeFilters/FilterBar/index.tsx).
If you need a horizontal filter bar in 4.0.2, you would have to modify the source code to set the `orientation` prop to `HORIZONTAL` in the relevant dashboard filter bar component. There is no workaround via dashboard metadata or properties modal in this version [reference](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/dashboard/types.ts).
**Comparison:**
| Feature | Superset 4.0.2 | Superset 6.0.0 |
|--------------------------------|-------------------------------|-------------------------------|
| Filter bar orientation config | Code-only, not in UI | UI dashboard property |
| Default orientation | Vertical | User-selectable |
| Horizontal layout available | Yes (code-level only) | Yes (UI option) |
Let me know if you need details on how to change the code, or if you have other questions!
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
---
<sup>How did I do? [Good](https://app.dosu.dev/response-feedback/df242012-39fa-4792-b833-7509d3f7d703?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/df242012-39fa-4792-b833-7509d3f7d703?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/df242012-39fa-4792-b833-7509d3f7d703?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/df242012-39fa-4792-b833-7509d3f7d703?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/df242012-39fa-4792-b833-7509d3f7d703?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/df242012-39fa-4792-b833-7509d3f7d703?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/df242012-39fa-4792-b833-7509d3f7d703?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&
nbsp;[](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/35228)
GitHub link: https://github.com/apache/superset/discussions/35228#discussioncomment-14475175
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [D] How to make the filter bar horizontal In Superset4.0.2 [superset]
Posted by "cjie-cw (via GitHub)" <gi...@apache.org>.
GitHub user cjie-cw added a comment to the discussion: How to make the filter bar horizontal In Superset4.0.2
is there any way to make filter bar horizontal in version 4.1.1 @dosu [@dosu](https://go.dosu.dev/dosubot).
GitHub link: https://github.com/apache/superset/discussions/35228#discussioncomment-16219311
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org