Grid with AngualrJS support

Thread is closed for posting
2 posts, 1 answers
  1. Raed
    Raed avatar
    2 posts
    Member since:
    Jun 2015

    Posted 24 Jun 2015 Link to this post


    How to get the selected row value in custom template and form condition based templates?

    code of column field looks like

                        column:    [{   {
                                  field: "actualSent",
                                  template: "<button class="k-button" ng-click="cancel()"> Cancel </button>",
                                  width : "200px"

    I want to display Cancel button if the actualSent field value is > 100% else show completed. How to handle this inside grid and get the selected row data not values. I know to get the values of each column using \'#=fieldName#\'

    Please suggest.  




  2. Answer
    Petyo avatar
    2444 posts

    Posted 29 Jun 2015 Link to this post

    Hello Raed,


    you may use the angularjs expressions to achieve that. the data item of the row is available as dataItem in the context of the expression - check the respective documentation.


    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top