HTML5 Data Bindings Formatter Support Product Page
Solved
Group By produces EMPTY data!
Reported 9 years ago
1
has this problem
9 years ago Hans Haverlach posted:
Here is a sample of repeate code from a datasouce with several joined tables.<div data-binding-id="repeat1" data-binding-repeat="ds_productinfo.data" data-binding-html="{{ds_productinfo.data}}"> <div class="titel"></div> </div>
The repeat region gives me a list of some names. Because of the joining some names exist more than once.
So I selected the repeat region and applied the Group By filter. The code changes into :
<div data-binding-id="repeat1" data-binding-repeat="ds_productinfo.data" data-binding-html="{{ds_productinfo.data.groupBy( "stem_naam" )}}"> <div class="titel"></div> </div>
I refresh the browser, but now the complete list is EMPTY.
What am I doing wrong, OR what is the extension doing wrong?
PLEASE advice. I followed the examples...
Thank you.
Replies
Replied 9 years ago
9 years ago Teodor Kuduschiev replied:
Hello are you using: data-binding-html by intention?
The code you pasted has nothing to do with the code that is produced if you are following the video tutorial.
The code you pasted has nothing to do with the code that is produced if you are following the video tutorial.
Replied 9 years ago
9 years ago Hans Haverlach replied:
Thanks for your reply. I misunderstood your implementation of the Group By filter.
Now I understand how to apply.
Thank you.
Now I understand how to apply.
Thank you.