Grid Angular Grid can perform inline editing. This is an AngularJS directive, so it connects to your Angular application. Also comes with other standard grid features (selection, filtering, etc.).
Editing documentation page here
To do the editing, set the editable parameter to true in the column definition, that is:
colDef.editable = true;
By default, the grid is managed as a string value. If you want to perform custom processing on a cell, for example, to convert it to an integer or to perform a check, you provide newValueHandler for the definition of the column, that is:
colDef.newValueHAndler = function(params) { var valueAsNumber = parseInt(params.newValue); if (isNaN(valueAsNumber)) { window.alert("Invalid value " + params.newValue + ", must be a number"); } else { params.data.number = valueAsNumber; } }
Ceolter Apr 28 '15 at 10:20 2015-04-28 22:20
source share