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 agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.