This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 46972 - ListViews not respecting binding when a GRID is used in the data template
Summary: ListViews not respecting binding when a GRID is used in the data template
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms (show other bugs)
Version: 2.3.1
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-11-15 03:48 UTC by Stacy Henwood
Modified: 2017-03-24 22:17 UTC (History)
3 users (show)

See Also:
Is this bug a regression?: ---
Last known good build:

Reproducer (7.35 MB, application/x-zip-compressed)
2016-11-15 03:52 UTC, Stacy Henwood

Description Stacy Henwood 2016-11-15 03:48:24 UTC
If you have a GRID in the datatemplate (either in the group header or in the item) then the bindings will not work correctly. If you update a string value, then it does not update in the template, but rather gets set to an empty string.

If you wrap the Grid in a Stacklayout, it magically starts to work again.

I will attach a reproducer project, based on the Xamarin Forms Samples on github.
Comment 1 Stacy Henwood 2016-11-15 03:52:32 UTC
Created attachment 18462 [details]

Modified group list view from github

Uncomment the StackLayout in the .xaml file to see correct behaviour, re-comment to see bug
Comment 2 adrianknight89 2016-11-18 04:34:04 UTC
Which platform is this happening on?
Comment 3 Stacy Henwood 2016-11-20 19:38:09 UTC
Windows 8/8.1 and UWP

In the project (attached to this call) iOS and Android projects are also included, but i have not confirmed that the bug occurs in those environments.
Comment 4 Paul DiPietro 2017-03-24 22:17:31 UTC
This looks to be resolved as of the

Note You need to log in before you can comment on or make changes to this bug.