Home Reference Source

src/components/table/fixtures/comp1.js

export default {
  'conditional': {
    'eq': '',
    'when': null,
    'show': ''
  },
  'tags': [

  ],
  'type': 'table',
  'condensed': false,
  'hover': false,
  'bordered': false,
  'striped': false,
  'caption': '',
  'header': [

  ],
  'rows': [
    [
      {
        'components': [
          {
            'tags': [

            ],
            'type': 'textfield',
            'conditional': {
              'eq': '',
              'when': null,
              'show': ''
            },
            'validate': {
              'customPrivate': false,
              'custom': '',
              'pattern': '',
              'maxLength': '',
              'minLength': '',
              'required': false
            },
            'persistent': true,
            'unique': false,
            'protected': false,
            'defaultValue': '',
            'multiple': false,
            'suffix': '',
            'prefix': '',
            'placeholder': '',
            'key': 'a',
            'label': 'a',
            'inputMask': '',
            'inputType': 'text',
            'tableView': true,
            'input': true
          }
        ]
      },
      {
        'components': [
          {
            'tags': [

            ],
            'type': 'textfield',
            'conditional': {
              'eq': '',
              'when': null,
              'show': ''
            },
            'validate': {
              'customPrivate': false,
              'custom': '',
              'pattern': '',
              'maxLength': '',
              'minLength': '',
              'required': false
            },
            'persistent': true,
            'unique': false,
            'protected': false,
            'defaultValue': '',
            'multiple': false,
            'suffix': '',
            'prefix': '',
            'placeholder': '',
            'key': 'b',
            'label': 'b',
            'inputMask': '',
            'inputType': 'text',
            'tableView': true,
            'input': true
          }
        ]
      },
      {
        'components': [
          {
            'tags': [

            ],
            'type': 'textfield',
            'conditional': {
              'eq': '',
              'when': null,
              'show': ''
            },
            'validate': {
              'customPrivate': false,
              'custom': '',
              'pattern': '',
              'maxLength': '',
              'minLength': '',
              'required': false
            },
            'persistent': true,
            'unique': false,
            'protected': false,
            'defaultValue': '',
            'multiple': false,
            'suffix': '',
            'prefix': '',
            'placeholder': '',
            'key': 'c',
            'label': 'c',
            'inputMask': '',
            'inputType': 'text',
            'tableView': true,
            'input': true
          }
        ]
      }
    ],
    [
      {
        'components': [
          {
            'tags': [

            ],
            'type': 'textfield',
            'conditional': {
              'eq': '',
              'when': null,
              'show': ''
            },
            'validate': {
              'customPrivate': false,
              'custom': '',
              'pattern': '',
              'maxLength': '',
              'minLength': '',
              'required': false
            },
            'persistent': true,
            'unique': false,
            'protected': false,
            'defaultValue': '',
            'multiple': false,
            'suffix': '',
            'prefix': '',
            'placeholder': '',
            'key': 'd',
            'label': 'd',
            'inputMask': '',
            'inputType': 'text',
            'tableView': true,
            'input': true
          }
        ]
      },
      {
        'components': [
          {
            'tags': [

            ],
            'type': 'textfield',
            'conditional': {
              'eq': '',
              'when': null,
              'show': ''
            },
            'validate': {
              'customPrivate': false,
              'custom': '',
              'pattern': '',
              'maxLength': '',
              'minLength': '',
              'required': false
            },
            'persistent': true,
            'unique': false,
            'protected': false,
            'defaultValue': '',
            'multiple': false,
            'suffix': '',
            'prefix': '',
            'placeholder': '',
            'key': 'e',
            'label': 'e',
            'inputMask': '',
            'inputType': 'text',
            'tableView': true,
            'input': true
          }
        ]
      },
      {
        'components': [
          {
            'tags': [

            ],
            'type': 'textfield',
            'conditional': {
              'eq': '',
              'when': null,
              'show': ''
            },
            'validate': {
              'customPrivate': false,
              'custom': '',
              'pattern': '',
              'maxLength': '',
              'minLength': '',
              'required': false
            },
            'persistent': true,
            'unique': false,
            'protected': false,
            'defaultValue': '',
            'multiple': false,
            'suffix': '',
            'prefix': '',
            'placeholder': '',
            'key': 'f',
            'label': 'f',
            'inputMask': '',
            'inputType': 'text',
            'tableView': true,
            'input': true
          }
        ]
      }
    ]
  ],
  'numCols': 3,
  'numRows': 2,
  'key': 'table1',
  'input': false
};