-3

I want when I create new row, In Status columns is checkbox. In Image is Input text I want when I create new row, In Status columns is checkbox. In Image is Input text

1 Answers1

0

I can not provide you a full sample code right now but you should define a column for your checkbox. Provide a boolean value for that column. Don't forget to add 'type: custom' It renders the Component you provide. I used a component named MyCheckboxComponent

<nb-checkbox [ngModel]="selected"></nb-checkbox>

nb-checkbox is in nebular library.

settings = {
  columns: {
   checkBox: {
     type: 'custom',
     filter: false,
     width: '10px',
     renderComponent: MyCheckboxComponent
   }
  }
 }