I am presently working on a Sencha Touch project for which I am using Sencha Architect 2. It is a rule builder sheet which sets the authorization level for various permissions. Depending on the authorization limit, I am showing the following screen as an overlay
screenshot.jpg


For this screen, I have taken static fields (i.e I have assumed that there will be only 4 fields namely Create, Read, Update, Delete) but I want the fields to be loaded dynamically using a JSON file. The format of my Json file is as follows:
Code:

Code:
{
totalcount : "1",
items : [
{
id : "26",
name : "corporate-data-permission",
resource_id : "1",
{
active : "true",
name : "Create",
display_order : "1"
},{
active : "true",
name : "delete",
display_order : "4"
},{
active : "true",
name : "read",
display_order : "3"
},{
active : "true",
name : "Update",
display_order : "2"
}
]
}
]
}


The problem that arises now is that I cannot load data from a store for a FieldSet. If I use a List instead of FieldSet, these checkboxes won't appear.

I think modifying the templates will help but I am not very comfortable with it.

Thanks in advance!!