Foreign Key support in Kendo UI Builder 3.0 - Forum - Kendo UI Builder - Progress Community

Foreign Key support in Kendo UI Builder 3.0

 Forum

Foreign Key support in Kendo UI Builder 3.0

This question is answered

Hi!

I'm testing Kendo UI Builder 3.0 and when using foreign key support with a "Data Grid Separate Form". The value of the combobox is not shown when in read mode. only is shown in edit mode. 

Anybody experiencing the same?

Verified Answer
  • Hello,

    I took a look at this issue and I was able to reproduce it.

    The issue happens because a reference to vm.$viewModels in the template.html is incorrect.

    The code for the foreign key should look like the following:

    <div class="col-md-7"> {{vm.$viewModels.fkeyModels['ttSalesrepFK1DSModel'].RepName | formatValue: '' }}</div>

    Please notice that if you update the template.html for the view, the generation process will override it.

    Could you report this issue via Technical Support?

    I hope this helps.

All Replies
  • Hello,

    I took a look at this issue and I was able to reproduce it.

    The issue happens because a reference to vm.$viewModels in the template.html is incorrect.

    The code for the foreign key should look like the following:

    <div class="col-md-7"> {{vm.$viewModels.fkeyModels['ttSalesrepFK1DSModel'].RepName | formatValue: '' }}</div>

    Please notice that if you update the template.html for the view, the generation process will override it.

    Could you report this issue via Technical Support?

    I hope this helps.

  • Hi,

    As you suggested, the template that Kendo is generating is different:

    <div class="col-md-7" ng-bind-html="vm.$iewModels.fkeyModels['fkcategoriaDSModel'].categoriaNOM | formatValue: ''"></div>

    Not only the the wrap {{ }} instead of ng-bind-html="", also vm.$viewModels is mispelled.

    I will report via Technical Support.

    Thank you very much,

    Carlos