widgets.pbTable.pbTable.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ui-designer-artifact-builder-generator-angularjs Show documentation
Show all versions of ui-designer-artifact-builder-generator-angularjs Show documentation
This module is a generator on AngularJS for Artifact Builder
{
"id" : "pbTable",
"name" : "Table",
"type" : "widget",
"custom" : false,
"modelVersion" : "2.6",
"description" : "Tabular presentation of data from an array",
"template" : "@pbTable.tpl.html",
"controller" : "@pbTable.ctrl.js",
"properties" : [
{
"label" : "Caption",
"name" : "caption",
"help" : "Describing the content of a data table. To be accessible the description must be relevant (clear and concise).",
"type" : "text",
"bond" : "interpolation"
},
{
"label" : "Interpret HTML",
"name" : "allowHTML",
"help" : "If you choose 'no', HTML code will be escaped instead of being interpreted in row's cells. If you choose ‘Yes’, this could potentially lead to HTML injections attacks. Please take into account these risks.",
"type" : "boolean",
"defaultValue" : false,
"bond" : "constant"
},
{
"label" : "Headers",
"name" : "headers",
"caption" : "Comma-separated list",
"help" : "If you specify an expression, the result must be an array of strings",
"type" : "collection",
"defaultValue" : [
"Id",
"Name",
"Description",
"Date"
],
"bond" : "expression"
},
{
"label" : "Content",
"name" : "content",
"help" : "Array used to populate the table. Can be a list of objects. Use 'Column keys' to refine content",
"type" : "collection",
"bond" : "expression"
},
{
"label" : "Column keys",
"name" : "columnsKey",
"caption" : "Use Filters to format the data (e.g. columnKey|uiDate)",
"help" : "When 'Content' is a list of objects, specifies the attributes to display in the table columns. These keys must not be a number, or start with a number",
"type" : "collection",
"bond" : "expression"
},
{
"label" : "Selected Row",
"name" : "selectedRow",
"type" : "text",
"bond" : "variable"
},
{
"label" : "Zebra-striping",
"name" : "striped",
"help" : "Alternating gray and transparent backgrounds",
"type" : "boolean",
"defaultValue" : true,
"bond" : "constant"
},
{
"label" : "Condensed",
"name" : "condensed",
"help" : "Condensed table with half padding",
"type" : "boolean",
"defaultValue" : false,
"bond" : "constant"
},
{
"label" : "Bordered",
"name" : "bordered",
"help" : "Add borders all around the table and between all the columns.",
"type" : "boolean",
"defaultValue" : false,
"bond" : "constant"
}
],
"assets" : [ ],
"requiredModules" : [ ],
"webResources" : [ ],
"icon" : "",
"order" : 17,
"hasHelp" : true
}