Suggestion: Provide an ON LOAD section for Views
ZOHO Creator Development Team:
It seems like Developers would not have to spend all their time making "near duplicate" copies of their Views to accomodate varying scenarios if ... there was an on Load section for Views ... where they could dynamically (via script) define ...
- Column Properties (hide/show, set order of columns (including Row Buttons), set Heading Text of columns)
- Criteria (much more poweful and flexible than trying to pass values in the url)
- Sort Order
- Permissions (e.g. depnding on UserID some users can set Add, Edit, Delete, Duplicate and Bulk Edit
- Groupings (nice to have)
- Decorations (Paging, Search, Record Summary ... similar to current options for embedded Views)
As well, like with HTML Views, parameters passed within the url e.g. ...
#View:mySuperView?name=John&age=41
... would return values for script variables ...
input.name
input.age
I believe that the ability to do such dynamic definitions of View properties would ...
- provide an enormous productivity improvement for experienced developers
- allow less experienced developers to accomplish some of the same objectives that currently require deployment of HTML Views ... only without having to learn html and css
Gaev