I'm working on It displays data using the Kendo-grid, however, what do I want when I click on a particular row in the table, all its contents are found in an object, and using that object I can display my field below the table. I can do How can I achieve that? Also, I believe we need to modify this code if we are using objects to display the field. Any help would be appreciated.
First Name: {{First Name}} & lt; Br> Last name: {{LastName}} & lt; Br> Country: {{Country}} & lt; Br> City: {{City}} & lt; Br> It sounds like you need to listen to the row selection (event of change), and get it. The selected row, then wrap it in angular variation inside its angle as described in this The key here is the incident triggered on the selections / dislikes.
Grid config .. change: function (e) {var selection = this.select (), selected item; If (selection and & amp; this dataatm (selection)) {$ scope.selectedItem = this.dataItem (selection) .toJSON (); } And {$ scope.selectedItem = {}; } $ Range $ Applied (); } ... grid config
No comments:
Post a Comment