Wednesday, August 18, 2010

How to create custom form widgets ?

I am using a 3rd party javascript library with some custom components
like combo box.

I want to use this 3rd party combo box instead of the default combo
box that
django forms modelchoicefield(widget= forms.select(...),...)
displays.

I guess I will have to create another widget replace widget=
form.select(...) by that.

How do I create another widget? Any links to how to documentation
would appreciated. I searched for it, not sure why I could not find
it.

I am on django 1.1.1

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate