This is a migrated thread and some comments may be shown as answers.

Expander does not Show all Content with ScrollView

1 Answer 361 Views
Expander
This is a migrated thread and some comments may be shown as answers.
Unb
Top achievements
Rank 1
Iron
Unb asked on 05 Nov 2018, 10:11 AM

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>

 

 

1 Answer, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 06 Nov 2018, 03:01 PM
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
Tags
Expander
Asked by
Unb
Top achievements
Rank 1
Iron
Answers by
Didi
Telerik team
Share this question
or