In the example below you specify grid.update_form for the edit action. But, my testing shows that this is actually grid.edit_form. Should it be renamed to 'update_form' for consistency with CRUD?

    -Jim

On 4/9/2012 3:58 PM, Massimo Di Pierro wrote:
You should be able to customize the create and edit forms in the same way:

{{if grid.create_form:}}
   {{=grid.create_form}}
{{elif grid.update_form:}}
   {{=grid.update_form}}
{{elif grid.view_form:}}
   {{=grid.view_form}}
{{else:}}
   {{=grid}}
{{pass}}

You need the current trunk because I just found an issue about this.

On Monday, 9 April 2012 11:55:24 UTC-5, Jim S wrote:

    Hi

    I want to customize the edit form of a .smartgrid the way that you
    can
    customize SQLFORM forms as specified in the manual under section 7.5.

    Is this possible?  If so, what do I use in place of
    {{=form.custom.begin}}?  How do I reference the form portion of the
    returned grid?

         -Jim

Reply via email to