Demo

Simple usage

This is a simple usage of the directive

Example collection.json
        [{
        id: 1,
        name: 'Lucas Rodrigues',
        city: {
          id: 1,
          name: 'Ribeirão Preto'
        },
        nickName: 'lucrod1',
        github: 'https://github.com/lucrod1/',
        enable: true,
        phone: '1636101626',
        value: '10.20',
        status: "ATIVO",
        cpf: '36207483812'
      }, {
        id: 2,
        name: 'John',
        city: {
          id: 2,
          name: 'California'
        },
        nickName: 'john',
        github: 'https://github.com',
        enable: false,
        value: '100',
        status: "INATIVO"
      }, {
        id: 3,
        name: 'Erick',
        city: {
          id: 1,
          name: 'Ribeirão Preto'
        },
        nickName: 'erick',
        github: 'https://github.com/',
        enable: true,
        value: '1.1',
        status: null
      }, {
        id: 4,
        name: 'Marcos',
        city: {
          id: 2,
          name: 'São Paulo'
        },
        nickName: 'marcus',
        github: 'https://github.com/',
        enable: true,
        value: '132.11',
        status: null
      }]
      
template.html
<rs-datagrid config="config"></rs-datagrid>

Results