0

I use a ng2-smart-table lib.

And I set like this:

settings = {
        hideSubHeader: true,
        pager: { perPage: 26, display: false },
        actions: false, 
        columns: {
            NO: {
                title: 'number',
            },
            name: {
                title: 'name',
            },
        },
    };

And I want to create new columns in 'name' header.

enter image description here

barbsan
  • 3,418
  • 11
  • 21
  • 28
sungsoo kim
  • 13
  • 1
  • 1
  • 2
  • As per official docs there is no such functionality, you need to manually set the configuration. or go for another smart table may be Primeng's table is best for your use case – Pardeep Jain Nov 19 '18 at 11:10
  • 1
    thank you for modifying my writing. I'm not skilled stackoverflow and english. And I will search Primeng's table. Thank you!! – sungsoo kim Nov 19 '18 at 11:15

1 Answers1

0

As per official docs, there is no such functionality, you need to manually set the configuration. or go for another smart table may be Primeng's table is best for your use case.

Refer here for Primeng Datatable -

Here you can easily use colspan and rowspan as per your requirements.

Pardeep Jain
  • 84,110
  • 37
  • 165
  • 215