how config fixed/static column in ng2-smart-table?

606 Views Asked by At

I've tried all possible Angular plugins for tables. By far the fastest is ng2-smart-table, but the option, that I'm looking for is the pinned/fixed column. Is there an option to have that?

That's not all actually, I would like to have:

fixed/static header AND fixed/static column.

source: LocalDataSource;
  settingsTable = {
    columns: {
      ID: {
        title: 'ID',
        width: '10%',
        show: true,
      },
      ENCODER:{
        title: 'ENCODER',
        width: '10%',
        show: true,
      },
      IRD: {
        title: 'IRD',
        width: '10%',
        show: true,
      },
      NOMBRE_COMPANY:{
        title: 'NOMBRE_COMPANY',
        width: '10%',
        show: true,
      },
      CHANNEL_ID:{
        title: 'CHANNEL_ID',
        width: '10%',
        show: true,
      },
      CATEGORIA:{
        title: 'CATEGORIA',
        width: '10%',
        show: true,
      },
      PROGRAMADOR:{
        title: 'PROGRAMADOR',
        width: '10%',
        show: true,
      },
      FORMATO:{
        title: 'FORMATO',
        width: '10%',
        show: true,
      },
    },
    noDataMessage: "No se encontraron resultados.",
    mode: "external",
    actions: false,
    attr: {
      class: 'table table-bordered '
    },
    pager: {
      perPage: 100,
      display: true
    }
1

There are 1 best solutions below

1
Paul Dlc On

Some angular components have problems. I suggest you that make the statics columns with css