I want when I create new row, In Status columns is checkbox. In Image is Input text
Asked
Active
Viewed 918 times
-3
-
2Please read [ask] and create a [mcve] of what you tried, you can [edit] the question and add it – Alon Eitan Feb 05 '20 at 08:30
-
What you have tried so far? – Devang Feb 05 '20 at 08:44
1 Answers
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
}
}
}

devGoodFriend
- 1
- 2