Posted 14 September 2017, 11:14 am EST
Thanks, i am able to capture the change event now. Although, i’m trying to get the Id of the selected item and face a couple of issues at this point.
What i had before is something like this -
[js]
var listItems = “[‘Australia’, ‘Germany’]”;
gridHtml += ‘’;
[/js]
Now i modified it to look like this
[js]
var listItems = [{id: 1, name: ‘India’},{id:2, name: ‘Austria’}];
var map = = new wijmo.grid.DataMap(listItems, “id”, “name”);
gridHtml += '<wj-flex-grid-column data-map="map" binding="id"';
[/js]
2 issues with this.
- Until i put the 'map' variable in scope($scope.map instead of var map), this will not work. And in my case i want to avoid this scope variable.
- In the cellEditEnding event, how do i get the 'id' of the selected item instead of the 'display value'?