简体   繁体   中英

Making table content horizontal MAUI

How to make this table content of tableview horizonatal?

在此处输入图像描述

How to make this table content of tableview horizonatal?

If the content of the horizontal table is the same, you can use CollectionView to achieve this.

If the content of the horizontal table is different, you can use Grid or StackLayout to achieve this just as Jason mentioned.

For example:

   <ScrollView> 
    <HorizontalStackLayout
        Spacing="25"
        Padding="10"
        VerticalOptions="Center">

        <TableView  x:Name="table1"/>

        <TableView  x:Name="table2"/>
        
        <TableView  x:Name="table3"/>

    </HorizontalStackLayout>
</ScrollView>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM