Get ready for BLACK FRIDAY shopping starting in

HTML5 Data Bindings Formatter Support Product Page

Solved

Group By produces EMPTY data!

Reported 11 Dec 2015 10:22:19
1
has this problem
11 Dec 2015 10:22:19 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( &quot;stem_naam&quot; )}}">
    <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 11 Dec 2015 10:33:01
11 Dec 2015 10:33:01 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.
Replied 11 Dec 2015 11:31:05
11 Dec 2015 11:31:05 Hans Haverlach replied:
Thanks for your reply. I misunderstood your implementation of the Group By filter.
Now I understand how to apply.

Thank you.

Reply to this topic