Skip to content

Custom grid -- angular-ui-grid with angular-schema-form -- not working #751

@anupamarachuri

Description

@anupamarachuri

Data Grid is on of the very common scenarios for any Web Page. I am trying to create a grid using angular-schema-form. This is how my schema looks and the form. Its not working. Can you please suggest where could i be wrong?

{
"schema": {
"type": "object",
"title": "Grid Schema",
"properties": {
"grid1": {
"type": "array",
"description": "An Grid.",
"items": [
"gridOptions", { "type": "object" }
]
}
}
},
"form": [
{
"key": "grid1",
"type": "simple-grid"
}
],
"model": {
"grid1": [
{
"name": "Exert",
"age": 55
},
{
"name": "Tiancum",
"age": 43
},
{
"name": "Jacob",
"age": 27
},
{
"name": "Nephi",
"age": 29
},
{
"name": "Enos",
"age": 34
}
]
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions