javascript - Any existing solutions for dynamic forms in Django? -


i'm looking existing solutions building dynamic forms django. want form looks table, when of cells clicked, textbox dynamically displayed instead of text , user can edit value.

i know that's quite abstract description i'd appreciate related: if library/framework reload absolutely table switch read-only editable, that's fine.

i'm implementing proof of concept web application, i'd avoid spending time implementing scratch.

the description unclear, believe. here is:

  1. there's list of users instance. simple table. administrator clicks 1 of these users , profile displayed:

    login: jsmith

    real name: john smith

    group: users

  2. then administrator double-clicks "john smith" , text box loaded instead of text:

    login: jsmith

    real name: [ john smith ]

    group: users

    [save] [cancel]

  3. administrator can modify jsmith's real name. if save clicked, data sent server. if cancel clicked, data reverted , profile on p.1

update: want have here on stackoverflow.com - write comment (not answer) , post it. can edit without reloading page. that's i've been talking before. so, need of kind extendable , django-injectable

sounds want javascript data grid widget. ext js toolkit has nice example, this:

http://dev.sencha.com/deploy/ext-4.0.0/examples/grid/cell-editing.html

now note has nothing django, these things can deployed web server or application server.

of course implementing on django server means making sure server serving javascript, , you've written ajax calls correctly. thats next step.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -