-
Notifications
You must be signed in to change notification settings - Fork 6
Home
rolandschuetz edited this page Jun 12, 2012
·
10 revisions
- Provide more elegant ways to define scaffolding (see below)
- Enhance scaffolding to use associations to generate selectboxes
- Add internationalization support for Bancha.js (simple refactoring)
- Enhance scaffolding to understand placeholders like '[save_button]'
- Automap Ext.data.validations rules to Ext.form.field.VType rules
About 1. Provide more elegant ways to define scaffolding:
The scaffold property of Ext.grid.Panel should get following configs:
fields2items
Easily define which fields should get scaffolded, example:
fields2items: ['firstname','lastname','address','state']
buttons
Default behavior buttons can easily be added to your button configurations, example:
buttons: ['->','create_button',{...your own button..},'save_button']
You can also simply get a correct button scope by adding to your custom buttons:
scope:'inject_grid_scope'