BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Hi Friends, I was wondering how do you keep a (Row) in a Grid Layout fixed during scrolling? thanks !!!!
Hi Ron,
To better assist you with your query, could you kindly provide us with more details regarding your requirements? Specifically, please provide details on how you would like to display the Row. Any additional information you can provide would be greatly appreciated, as it will allow us to provide you with a more accurate and helpful solution. Additionally, if possible, please provide a code snippet or any other relevant details that may help us better understand your request.
Regards,
Vijayakumar V
Thank You So Kindly for helping...
I was wondering how do you keep a (Row) in a Grid Layout fixed during scrolling? In my case I want to keep Row(0) where I have a Header Row fixed (Meaning they cannot resize the window and scroll this particular Row in the Grid, while the user can resize window and Scroll the other Rows. The first row of the Grid will achieve a similar effect to freezing the first row in Excel, fixing it to the top of the table at all times
<ScrollView HorizontalScrollBarVisibility="Always" >
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
<RowDefinition Height="auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="auto"/>
</Grid.ColumnDefinitions>
<!--Row 0-->
<controls:PayerHeader Grid.Row="0" />
Hi Ron,
The grid layout does not support the required functionality of fixing the first row of the grid, similar to freezing the top row in Excel. Nevertheless, we attempted to utilize two grid layouts, incorporating the second grid into the second row of the initial grid within the scroll layout. This approach provides a similar type of behavior. Kindly review the sample and share your feedback with us.