All Downloads are FREE. Search and download functionalities are using the official Maven repository.

components.widgets.List.List.meta.json Maven / Gradle / Ivy

The newest version!
{
  "List": {
    "id": "$testListWidget",
    "src": "ListWidget",
    "className": "n2o",
    "dataProvider": {
      "url": "n2o/data/testListWidget",
      "pathMapping": {
      },
      "queryMapping": {}
    },
    "toolbar": {
      "topRight": [
        {
          "id": "topRight0",
          "buttons": [
            {
              "id": "menuItem0",
              "actionId": "menuItem0",
              "hint": "Изменить видимость фильтров",
              "icon": "fa fa-filter"
            },
            {
              "id": "menuItem2",
              "hint": "Обновить данные",
              "icon": "fa fa-refresh",
              "actionId": "menuItem2"
            }
          ]
        }
      ]
    },
    "actions": {
      "menuItem0": {
        "src": "perform",
        "options": {
          "type": "n2o/widgets/TOGGLE_FILTER_VISIBILITY",
          "payload": {
            "widgetId": "Page_Table"
          }
        }
      },
      "menuItem2": {
        "src": "perform",
        "options": {
          "type": "n2o/widgets/DATA_REQUEST",
          "payload": {
            "widgetId": "Page_Table"
          }
        }
      }
    },
    "hasMoreButton": true,
    "fetchOnScroll": false,
    "maxHeight": null,
    "maxWidth": null,
    "divider": true,
    "list": {
      "leftTop": {
        "src": "ImageCell",
        "id": "leftTop",
        "className": "list-image",
        "title": "It's a cat!"
      },
      "leftBottom": {
        "src": "TextCell",
        "id": "leftBottom",
        "as": "span"
      },
      "header": {
        "src": "TextCell",
        "id": "header",
        "as": "h3"
      },
      "body": {
        "src": "TextCell",
        "id": "body",
        "visible": true
      },
      "subHeader": {
        "src": "BadgeCell",
        "id": "subHeader",
        "as": "h4"
      },
      "rightTop": {
        "src": "IconCell",
        "id": "rightTop",
        "visible": true,
        "icon": "fa fa-comment"
      },
      "rightBottom": {
        "src": "TextCell",
        "id": "rightBottom",
        "visible": true
      },
      "extra": {
        "id": "extra",
        "src": "ButtonsCell",
        "fieldKey": "name",
        "className": "n2o",
        "style": {},
        "toolbar": [
          {
            "buttons": [
              {
                "id": "1",
                "label": "",
                "icon": "fa fa-plus",
                "hint": "Make a cat clever",
                "size": "md",
                "visible": true,
                "disabled": false
              },
              {
                "id": "2",
                "label": "",
                "icon": "fa fa-trash",
                "hint": "Delete",
                "size": "md",
                "visible": true,
                "disabled": false
              }
            ]
          }
        ],
        "actions":
        {
          "dummy": {
            "src": "dummyImpl",
            "options": {
              "testProp": "testValueProp"
            }
          },
          "dummy2": {
            "src": "dummyImpl",
            "options": {
              "testProp": "testValueProp"
            }
          }
        }
      }
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy