Does Dojango offer inline editing?

17 views
Skip to first unread message

walterbyrd

unread,
Jul 13, 2009, 2:51:10 PM7/13/09
to dojango-users
For example, could I just click on cell on edit it's contents?

Tobias von Klipstein

unread,
Jul 13, 2009, 5:16:58 PM7/13/09
to dojang...@googlegroups.com
Hey Walter,

the setup, that the grid is supporting inline editing is not as trivial as just reading from a store. Currently the grid integration of dojango just supports simple reading. 

But for having write capabilites you would need to add a WriteStore to the grid and define which type of form widget (checkbox, select, ...) you want to use for which column. And of course the save method of the WriteStore must be defined. Maybe you want to save, when the user changed any field or sometimes you want the user to click on the save button before. This behavior needs to be defined.

You can read more about the Dojo grid here: http://www.sitepen.com/blog/2008/07/14/dojo-12-grid/

Maybe using a JsonRestStore in combination with grid could simplify that process and it will make that easier configurable. I already looked at Django-Piston: http://bitbucket.org/jespern/django-piston/wiki/Home. Maybe this will be used in combination with Dojango.

Hope this helps.

Regards, Tobias

Am 13.07.2009 um 20:51 schrieb walterbyrd:


For example, could I just click on cell on edit it's contents?



---
Our latest (not only) mobile app http://eventninja.net
---

http://uxebu.com - AJAX and JavaScript Experts
You need AJAX, RIA, JavaScript and all this modern stuff? We got it!

uxebu Consulting Ltd. & Co. KG
Richard-Strauss-Str. 21
81677 München

Amtsgericht München
Handelsregister HRA 93461

Persönlich haftende Gesellschaft:
uxebu Ltd. - Sitz München
Amtsgericht München
Handelsregister HRB 176791
Geschäftsführer: Wolfram Kriesing, Nikolai Onken, Tobias von Klipstein

Reply all
Reply to author
Forward
0 new messages