Expander does not Show all Content with ScrollView

2 posts, 0 answers
  1. Unb
    Unb avatar
    16 posts
    Member since:
    Oct 2018

    Posted 05 Nov 2018 Link to this post

    Hello

    I have a parameter list which contains 75 items (I've created a custom UI element. I try to show these params in the content of RadAccordion. Unfortunately it shows only 24 items by using scroll and after 24 items, I cannot scroll.. I've tried with RadExpander, it shows 16 items. I do not give any height value. How I can increase the size? Here is my code

    <ContentView.Content>
           <Grid BindingContext="{Binding MeterReadout, Source={StaticResource ViewModelLocator}}"  VerticalOptions="FillAndExpand">
               <StackLayout  Margin="10,20,10,0">
                   <datacontrols:RadListView x:Name="listView"   ItemsSource="{Binding Source}" SelectionMode="None" VerticalOptions="FillAndExpand" >
                       <datacontrols:RadListView.ItemTemplate>
                           <DataTemplate>
                               <telerikListView:ListViewTemplateCell >
                                   <telerikListView:ListViewTemplateCell.View>
                                       <ScrollView VerticalOptions="FillAndExpand">
                                         <telerikPrimitives:RadExpander x:Name="expander" Style="{StaticResource ExpanderStyle}">
                                                   <telerikPrimitives:RadExpander.Header>
                                                       <telerikPrimitives:ExpanderHeader>
                                                       <Label Text="{Binding MeterId}"  Style="{Binding CapitalLettersLabel}"   />
                                                </telerikPrimitives:ExpanderHeader>
                                                   </telerikPrimitives:RadExpander.Header>
                                                   <telerikPrimitives:RadExpander.Content>
                                                   <ScrollView  Style="{StaticResource ExpanderContent}">
     
                                                       <customCellItem:CustomReadoutListItem
                                                           ItemsSource="{Binding MeterValues}"
                                                         
                                                       />
                                                   </ScrollView>
                                                   </telerikPrimitives:RadExpander.Content>
                                               </telerikPrimitives:RadExpander>
                                        </ScrollView>
                                   </telerikListView:ListViewTemplateCell.View>
                               </telerikListView:ListViewTemplateCell>
                           </DataTemplate>
                       </datacontrols:RadListView.ItemTemplate>
                   </datacontrols:RadListView>
               </StackLayout>
           </Grid>
       </ContentView.Content>

     

     

  2. Didi
    Admin
    Didi avatar
    336 posts

    Posted 06 Nov 2018 Link to this post

    Hello,

    Thank you for the provided code.

    I have created a sample example and I could not reproduce the issue on my side. Please take a look at the attached sample and may I ask you to modify it according your specific setup and send it back to me? In this case we could research it further. Also please note that you should open a support ticket and attach the project there, because in the forum only image attachments are allowed.

    Thanks in advance.

    Regards,
    Didi
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top