KendoUI table + AngularJS

后端 未结 2 1670
感情败类
感情败类 2021-02-14 19:28

I am trying to implement a generic table widget (using KendoUI) having the data binding done with AngularJS. The table widget would look something like this in the HTML file (fi

2条回答
  •  盖世英雄少女心
    2021-02-14 20:09

    I have created two fiddles which would demonstrate how what you are trying to achieve could be done. The first fiddle uses ( http://jsfiddle.net/ganarajpr/FUv9e/2/ ) kendoui's grid ... So its style and display is complete. The only caveat being it wont update if the model changes. This is because kendoui takes the data first and then produces all the UI elements based on the model provided at the beginning.

    The alternate is to use Kendo's UI (css) and leave out the grid producing code.

    http://jsfiddle.net/ganarajpr/6kdvC/1/

    This I believe is closer to what you were looking for. It also demonstrates the use of ng-repeat in a table.

    Hope this helps.

提交回复
热议问题