We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

SfNavigationDrawer and SfDataGrid doesnt work in UWP

Thread ID:

Created:

Updated:

Platform:

Replies:

127975 Dec 22,2016 07:17 AM Jan 6,2017 05:46 AM Xamarin.Forms 5
loading
Tags: SfNavigationDrawer
Emil
Asked On December 22, 2016 07:17 AM

Code below works fine in Android but in UWP, it wont display the sfDataGrid at all, when I remove sfNavigator, sfDataGrid is just binded and filled fine. why It is not displayed in UWP? you advise to add always HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" for stacklayout, I tried that as as well but it doesnt help.

...
Text="{Binding SearchText, Mode=TwoWay}"
SuggestionItemDataTemplate="{StaticResource SuggestionItemTemplate}"
Placeholder="Search Items here!"
ShowSearchButton="False"
SearchBackgroundColor="White"
SearchTextColor = "Black"
SearchBorderColor = "Yellow"
SuggestionBackgroundColor="White"
SearchCommand="{Binding FindItems}"
Suggestions="{Binding Items, Mode=TwoWay}"
/>
AutoGenerateColumns="False"
AllowSorting="True"
IsEnabled="True"
ColumnSizer="Star"
AllowSwiping="True"
MaxSwipeOffset="180"
GridTapped="dataGrid_GridTapped"
SelectionMode="{Binding GridSelectionMode}"
SelectionChanged="SuperSetSelectionChanged"
AutoExpandGroups="True"
AllowGroupExpandCollapse="True"
RowHeight="100" ItemsSource="{Binding Items}"
SelectedItem="{Binding SelectedItem, Mode=OneWayToSource}" VerticalOptions="FillAndExpand">
....

Pavendhan Kumar [Syncfusion]
Replied On December 23, 2016 05:10 AM

Hi Emil,

Thank you for contacting Syncfusion support.

The details(code snippet) is not enough to reproduce the reported issues at our end. So please share sample project to reproduce the above mentioned issue. That would help us to work inline with your requirement.

Regards,
Pavendhan K.


Emil
Replied On December 23, 2016 07:05 AM

Hi,

Sorry, i just put the code again. this should be sufficient I think. If not, I will try to create a small test project. please let me know

<ContentView.Content>
    <navigation:SfNavigationDrawer x:Name="navigationDrawer" Position="Right" Transition="SlideOnTop" DrawerWidth="300">
      <navigation:SfNavigationDrawer.DrawerHeaderView>
        <Grid x:Name="headerLayout" BackgroundColor="#1aa1d6" >
          <Label x:Name="header"  Text="FILTERS" FontSize="14" TextColor="White"  VerticalTextAlignment="Center" HorizontalTextAlignment="Center"  />
        </Grid>
      </navigation:SfNavigationDrawer.DrawerHeaderView>
      <navigation:SfNavigationDrawer.DrawerContentView>
        <StackLayout Orientation="Vertical" BackgroundColor="White">
        ...
        </StackLayout>
      </navigation:SfNavigationDrawer.DrawerContentView>
      <navigation:SfNavigationDrawer.ContentView>
        <StackLayout Orientation="Vertical">
          <xlabs:AutoCompleteView x:Name="MyAutoComplete"
                    Text="{Binding SearchText, Mode=TwoWay}"
                    SuggestionItemDataTemplate="{StaticResource SuggestionItemTemplate}"
                    Placeholder="Search Items here!"
                    ShowSearchButton="False"
                   SearchBackgroundColor="White"
                              SearchTextColor = "Black"
                              SearchBorderColor = "Yellow"
                              SuggestionBackgroundColor="White"
                    SearchCommand="{Binding FindItems}"
                    Suggestions="{Binding Items, Mode=TwoWay}"
      />
          <sfgrid:SfDataGrid  ScrollingMode="PixelLine"  x:Name="listItems"
                        AutoGenerateColumns="False"
                        AllowSorting="True"
                           IsEnabled="True"
                        ColumnSizer="Star"
                        AllowSwiping="True"
                        MaxSwipeOffset="180"
                        GridTapped="dataGrid_GridTapped"
                        SelectionMode="{Binding GridSelectionMode}"
                              SelectionChanged="SuperSetSelectionChanged"
                         AutoExpandGroups="True"
                          AllowGroupExpandCollapse="True"
                        RowHeight="100" ItemsSource="{Binding Items}"
             SelectedItem="{Binding SelectedItem, Mode=OneWayToSource}"  VerticalOptions="FillAndExpand">
 
 ....
 
 
     </navigation:SfNavigationDrawer>
    
  </ContentView.Content>

Pavendhan Kumar [Syncfusion]
Replied On December 27, 2016 07:04 AM

Hi Emil,

Thank you for your update. We have tried your code snippet but unable to reproduce the reported issue. If you provide sample project to reproduce the reported issue that would be great to find the root cause for the problem.

Regards,
Pavendhan K.



Emil
Replied On January 5, 2017 06:54 AM

I was using 14.4.0.15 version and upgraded to 14.4.0.20 version. It looks like on this version I am not able to reproduce the error as well.  Do you have a page where you publish the changesets between version? I would like to always see these before I upgrade to a newer version

Pavendhan Kumar [Syncfusion]
Replied On January 6, 2017 05:46 AM

Hi Emil,

Thank you for your update. During the time of every release we will publish release notes where you can find what are the bugs were fixed and new features were included. The link for the same is given below please refer

Link: https://help.syncfusion.com/xamarin/release-notes/v14.4.0.20?type=all#sfnavigationdrawer 

Please let us know if you have any concern on this.

Regards,
Pavendhan K.
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;