Is it possible to conditionally disable row completely (select box, inline editing, row actions), using some CSS hack, etc. in the lightning:dataTable? Users should still be able to perform the same actions on other rows.

Also, is it possible to conditionally hide a row (slds-hide?)? Users should still be able to see other rows.


The Short answer is no as explained in below thread

How do I get lightning:datatable to do some undocumented thing X?.

however you can please have a look at below link and see if this helps in your case .

DOM manipulation on lightning:datatable

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.