coreui / coreui-angular

CoreUI Components Library for Angular https://coreui.io/angular/docs/
https://coreui.io/angular/
MIT License
244 stars 145 forks source link

Hide manually check box for selectable enabled #187

Closed 32x0lf closed 11 months ago

32x0lf commented 12 months ago

Hi,

I was trying to check your documents but found none about how to hide the checkbox in rows if selectable is enabled for smart table. I tried adding _props: {'selectable': false} for rows that are not editable or with pencil icon but it didn't work.

image

Please advise. Thank you

32x0lf commented 11 months ago

HI @xidedix ,

Please advise.

32x0lf commented 11 months ago

Hi @xidedix ,

I submitted a ticket to the support using the support link. hoping to hear from your team. Thank you

xidedix commented 11 months ago

Starting from v4.5.24 of CoreUI Pro for Angular 16 you can use _selectable prop in your Items array like:

const usersData: IItem[] = [
  {id: 0, name: 'John Doe', _selectable: false},
  {id: 1, name: 'Samppa Nori'},
...