AngularUI: Get the Cell Value from ng-grid by Clicked or Selected

Use the afterSelectionChange callback function to trigger the event after clicked or selected

Then, we can try to console.log the this object - AngularUI: Get the cell value from ng-grid by clicked or selected

this in the afterSelectionChange callback function represents the current cell clicked or selected from ng-gird. It has the entity object which contains the value of the cell. so we can call this.entity.VALUE to get the value of cell:

Leave a Reply

Your email address will not be published. Required fields are marked *