OK, not sure if I’m just being thick headed or what? For a couple of days I have tried to get XamDataGrid working for my small project. After having SyncFusion Xamarin.Forms controls for some time decided hey a data grid would look good for this list. Now my app has a page with ListView. This ListView has a ItemSource=”{Binding lstLessons}” which is in a ViewModel called VMLessons. This is an ObservableCollection<Lessons> lstLessons. I thought wrongly that should be able to comment out the ListView and add the datagrid, make its ItemSourc = lstLessons and on my way. That didn’t work. So I started on my quest. Seems all the examples available on Github are old. Also quite a few changed in the 20.1 version. I for the life of me was not able to find a simple Sqlite example. This seems to me a lot of screwy stuff going on any help would be appreciated.
Hello Michael,
Thank you for your update on this matter.
If you are looking into filtering the XamDataGrid, I would recommend taking a look at the following documentation topic: www.infragistics.com/.../datagrid-filtering-grid
Please let me know if you have any other questions or concerns on this matter.
Thanks but I have it licked now I think it was mostly because of gird Height, I kept playing around with it and found the combination that got my three pieces working. Now on to read up on filtering the XamDataGrid.
I have been investigating into the ability to place the XamDataGrid within a Xamarin.Forms Grid RowDefinition, and this is definitely an allowed operation. Many of our data grid samples do this and are working fine. I am curious as to the code you are using with a Xamarin.Forms Grid with the XamDataGrid that isn’t working? Would it be possible for you to share that layout so I may mimic it on my end and look into what may be wrong?
While I understand your concerns about the GitHub examples, I find it unlikely that we will be rewriting these to conform with the new Xamarin defaults as the projects we have on GitHub should still work in most cases. If you can point me at ones that do not open correctly with Visual Studio 2019 or do not run in Visual Studio 2019, I can take a look at potentially updating them, though.
I have got DataGrid working in my previous app. I guess having a XamDataGrid embedded as one row in a Xamarin.FormsGrid is verboten? Thanks for your help but I think all the examples available from Infragistics on Github should be redone using defaults now available in Visual Studio 2019 for Xamarin. Now mind you few have jumped in and adopted say AppShell? Looking around so many of Github examples are all made years ago. Found a page in a Google search for MVVM it was 4 years old and the link for part 2 was broken, probably gone, and the links for the embedded images were all broken. Now your Xamarin controls are very reasonable priced but trying to get up to speed has been very frustrating. Days have been wasted.
I'll take a look and get back to you!