I have a requirement of developing spreadsheet like application using ag-grid. In that I need to disable few rows (not allow users to edit few rows). Can someone guide me how to make specific rows read only when all the columns are set editable to true mode in ag-grid. Or is there any other way to archive this functionality.
2 Answers
5
votes
1
votes
What will work best is to use the cellEditor
somehow. It provides row nodes in it's init params that you can iterate through and check if it is a row you want editable or not. If it is not then call stopEditing.
Sorry this doesn't have a working example yet, but that is how I will try tackling it and try to provide a working example when I get one going.