I have a lightning:datatable component

<lightning:datatable columns="{!v.columnsPhone}" data="{!v.dataPhone}" keyField="id" selectedRows="{!v.selectedRowsPhone }" onrowselection="{!c.getSelectedPhone } hideCheckboxColumn="false"/>

I'm looking to disable the checkboxes just for specific rows based on some conditions. The documentation for lightning:datatable doesn't talk about disabling checkbox for some rows . Should I just use another component?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.