Hi,
I am creating a Xamarin Cross Platform App and i am using XF.Datagrid to show tabular data in UI
I have followed the sample as shown in the link below but still i am facing an issue while running the application.
https://www.infragistics.com/help/xamarin/datagrid-binding-local-data-source#_Background.
My code is breaking to DEBUG && !DISABLE_XAML_GENERATED_BREAK_ON_UNHANDLED_EXCEPTION region of App.i.g.Cs and when i try to see the value for possible exception i am getting this message
Unable to cast object of type 'Infragistics.XamarinForms.Controls.Grids.XamDataGridRenderer' to type 'Xamarin.Forms.IRegisterable'.
I have installed Infragistics.XF.DataGrid nuGet package and infragistics version is 17.2.1002.
Am i missing something?
It will be great if you can post a working sample that will be of great help to us. I am building a Xamarin forms Cross Platform app and currently testing for UWP devices.
Hello Shaun,
Thank you for contacting Infragistics. First I would make sure the version of Xamarin.Forms is set to 2.3.2.127.
I attached a sample demonstrating a basic example of how to reference and include the XamDataGrid and bind to collection.
Let me know if you have any questions regarding this matter.
Actually in the sample provided by you there were Android and IOs projects and UWP project was missing.
So i added UWP project and tried to run the sample it again throws the same error. Does xamdatagrid works only for android and IOS and is it compatible with Xamarin UWP project too?Because currently i am targetting UWP app using Xamarin.
Thank you for following up. At the moment our Xamarin product only supports Android and iOS. We have our a separate UWP preview product with a samples browser that consists of many of the same controls and the Data Grid is included.
For more details please visit the following links:https://www.infragistics.com/products/universal-windows-platform https://www.infragistics.com/community/blogs/blagunas/archive/2016/08/02/announcing-the-infragistics-uwp-preview.aspx
I recommend expressing your interest in adding UWP support for our Xamarin product. You can suggest new product ideas for future versions (or vote for existing ones) at http://ideas.infragistics.com.
There are many benefits to submitting a product idea:
Direct communication with our product management team regarding your product idea.Notifications whenever new information regarding your idea becomes available.Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.Allow you to shape the future of our products by requesting new controls and products altogether.You and other developers can discuss existing product ideas with members of our Product Management team.
Steps to create your idea:
1. Log into the Infragistics Product Idea site at http://ideas.infragistics.com (creating a new login if needed).
2. Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.)
3. Add your product idea and be sure to be specific and provide as much detail as possible.
- Explain the context in which a feature would be used, why it is needed, why it can't be accomplished today, and who would benefit from it. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. Be convincing!
- Include a link to this thread in your idea so product management will be able to look back at this case.
The Product Idea site puts you in the driver's seat and allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Let me know if you have any questions.