0

I'm using a ng2-smart-table component, but i cant find an option, which set a cell is editable, like this example (http://akveo.com/blur-admin/#/tables/smart table marek as "EDITABLE CELLS") Please, help me - can I edit each cell separately in ng2-smart-table Thanks!

2 Answers2

0

You can set by setting editable:True

actions: actions,
     Yourcolumns: {
      YourColumnName: {
        title: 'Name',
        filter:true,
        editable:True,
        type:'html'

     }}
Hardik
  • 106
  • 9
0

You can do it by using below code.

actions: { add: true, edit: true, delete: false, position: 'right' },
columns: {
       columnname: {
                title: 'Column Name',
                type: 'string',
                editable: true
       }
}
Deepak Kumar
  • 1,246
  • 14
  • 38