Hi Jorge,
Greetings from Syncfusion support.
Based on your query, you want to highlight the cells of the columns which are editable. Your requirement can be achieved by customizing the grid cells by adding a css class to the `customAttributes` property of the column in the `created` event of the EJ2 Grid.
Please refer the below code example.
|
<style>
.highlight-editable-cells{
background: yellow;
}
</style>
<script>
function created() {
var grid = document.getElementById('Grid').ej2_instances[0];
var columns = grid.getColumns();
for(var i = 0; i < columns.length; i++) {
if(!columns[i].isPrimaryKey && columns[i].allowEditing) {
columns[i].customAttributes = { class: "highlight-editable-cells"}
}
}
}
</script>
|
Please get back to us for further details.
Regards,
Joseph I.