Skip to content

Toggle DataGridView Layout between Horizontal and Vertical in Wisej #4874

Closed

Description

@itg-assistant

Ivan Nujic asked 2025-10-02 12:01:04 UTC

Hi,

I would like to know if it’s possible in Wisej to switch the layout of a table (DataGridView or similar) dynamically.

For example:

By default the data is shown in the usual horizontal style (columns left to right).

On a button click, I would like to show the same data vertically (like transposing rows and columns, or showing fields stacked one below the other).

Is there a recommended approach for this in Wisej? Should I transpose the data source, or is there a built-in way using FlowLayoutPanel / FlexLayoutPanel or some responsive layout option?

Thanks in advance!

Activity

  1. itg-assistant commented on Jun 16, 2026

    @itg-assistant
    Author

    Julie (ITG) answered 2025-10-03 13:47:39 UTC

    Unfortunately, there is no built in way to do this in Wisej. I would recommend that you transpose the data source.

    You could manually do this with switching between a FlowLayoutPanel and a DataGridView, see attached example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions