You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Parents binding in ListView item templates is not working until ListView is refreshed. #5054
Hello guys I have a quick question I searched forums but couldnt find answer
How can I display my observable in parents if I have 2 or 3 of them
like this:
There are a number of syntax errors in the your Button XML line.
You have double quotes for your second binding and also some closing brackets at the end that are not needed.
Demo application demonstrating the above syntax can be found here.
Meanwhile, it appears that you might have to manually refresh the list view to update all parents binding in the item templates.
Logging this one as a bug - steps to reproduce use the linked application and remove the manual refresh of the list. As a result, the binding will appear only for the few first items or only after the list is scrolled.
changed the title [-]Question: Displaying parents in xml[/-][+]Parents binding in ListView item templates is not working until ListView is refreshed.[/+]on Nov 9, 2017
Activity
NickIliev commentedon Nov 9, 2017
@markomiljkovic
There are a number of syntax errors in the your Button XML line.
You have double quotes for your second binding and also some closing brackets at the end that are not needed.
Here is the refactored code that will work
Demo application demonstrating the above syntax can be found here.
Meanwhile, it appears that you might have to manually refresh the list view to update all parents binding in the item templates.
Logging this one as a bug - steps to reproduce use the linked application and
remove the manual refresh of the list. As a result, the binding will appear only for the few first items or only after the list is scrolled.
[-]Question: Displaying parents in xml[/-][+]Parents binding in ListView item templates is not working until ListView is refreshed.[/+]HunterJS-bit commentedon Nov 9, 2017
thank you very much its working :)
NickIliev commentedon Dec 11, 2017
Reproducible with tns-core-modules@next
NathanWalker commentedon Jul 7, 2020
Released with https://github.com/NativeScript/NativeScript/releases/tag/6.5.9 now
fix(bindable): parent referenced expression-values now load properly …
fix(bindable): parent referenced expression-values now load properly …
fix(bindable): parent referenced expression-values now load properly …