Skip to content

Instantly share code, notes, and snippets.

@AnatoliyAkhmatov
Forked from agragregra/migx-sample.js
Last active September 21, 2018 05:16
Show Gist options
  • Save AnatoliyAkhmatov/4bdb237781a2f95df6ce6098df8ee39a to your computer and use it in GitHub Desktop.
Save AnatoliyAkhmatov/4bdb237781a2f95df6ce6098df8ee39a to your computer and use it in GitHub Desktop.
MIGX Sample
Tabs:
[
{"caption":"Tab Title", "fields": [
{"field":"title","caption":"Name"},
{"field":"description","caption":"Description","inputTVtype":"textarea"},
{"field":"text","caption":"editor","inputTVtype":"richtext"},
{"field":"img","caption":"Изображение","inputTV":"","inputTVtype":"image"}
]}
]
Table:
[
{"header": "Name", "sortable": "true", "dataIndex": "title"},
{"header": "Photo", "width": "80", "sortable": "false", "dataIndex": "img","renderer": "this.renderImage"}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment