ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Disabling a row doesn't disable cell edit

Open roshanhadal opened this issue 10 years ago • 2 comments

Have an issue on gridOptions.isRowSelectable. I see that though the row is disabled for select, the cell edit still works on it. I couldn't find for an option where I can disable the row completely. colDefs.cellEditableCondition doesn't seem to work on data, i.e., based on the value of a cell in a row, enable/disable cell. Am I missing something here? Is there a straightforward way to dynamically achieve complete row disable (select and edit)? If no (I searched and couldn't find), then I feel this is a bug and isRowSelectable=false should override cellEdit and disable cellEdit as well.

I created a plunker from the original example for row selection. The moment I add ui-grid-cellNav ui-grid-edit ui-grid-row-edit, row select option seems to be overridden. I feel it should be the opposite as I have explained above. http://plnkr.co/edit/y3ZwcJTrFzl9ApRuNmyg?p=preview

Note: Click on Set Selectable button in the example for the row selection condition to set in.

roshanhadal avatar Jun 26 '16 03:06 roshanhadal

I am facing the same problem. Can someone help here?

gl-amitag avatar Aug 23 '17 09:08 gl-amitag

Thanks for contributing! This repository has been transferred, and we're preparing the new 5.x release. We're closing older issues and pull requests as part of the reset. Please join us on Discord to follow the work or continue the conversation: https://discord.gg/Baz4w8ZWN

orneryd avatar Aug 12 '26 23:08 orneryd