Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
55
The Grid Example is Not Working Well
posted

So while it will build and run it produces a jumbled mess when connecting to the remote data source.  It I could upload images to this forum I would show you what it produces.  My guess is someone at Infragistics can just build and run the sample to see the bug.

  • 34810
    Offline posted

    Hello Ken,

    I am assuming that the XFRemoteGrid sample that you are referring to is the one on GitHub, here: https://github.com/Infragistics/XamarinDemoApps/tree/master/XFRemoteGrid/XFRemoteGrid/XFRemoteGrid.

    The XFRemoteGrid does not appear to be broken in this case, but it does appear that there is a little mishap in it that is causing the truncation of many of the values in the grid. If you look at the MainPage.xaml file, you might notice that the XamDataGrid's AutoGenerateColumns property is set to "True." This will generate a column for every property on data items existing in the bound OData virtual data source, rather than just showing the columns that are defined in the XamDataGrid.Columns collection. It is likely that your device or iOS simulator does not have enough screen space to show all of these columns, and so you see truncated data.

    I would recommend setting this AutoGenerateColumns property to "False" if you only wish to see the four columns that are added to the XamDataGrid.Columns collection in this case.

    It is also worth noting that this GitHub sample is a kind of "test" demo for our Virtual Data Source stuff, and is not officially maintained like the sample shown in the actual Infragistics for Xamarin Samples Browser that can be downloaded when installing the product. As such, it is certainly possible that some of the paths may be hardcoded. All of the dependencies are shown through Nuget, and you can view them in the packages.config file. You can also get the Infragistics-related dependencies through NuGet by following our online documentation article, here: https://es.infragistics.com/help/xamarin/infragistics-nuget-feed.

    Please let me know if you have any other questions or concerns on this matter.

    Sincerely,
    Andrew
    Associate Developer