Re: how to implement a data grid? (or populate inlineformset with initial data)

2011-05-31 Thread snfctech
Thanks for your reply, Daniel. I read the docs, but did not understand them properly. Your explanation makes sense, but doesn't seem to be working for me, for some reason. I followed the docs from https://docs.djangoproject.com/en/1.3/topics/forms/modelforms/#inline-formsets precisely, but am ge

Re: how to implement a data grid? (or populate inlineformset with initial data)

2011-05-31 Thread Daniel Roseman
On Tuesday, 31 May 2011 15:20:11 UTC+1, snfctech wrote: > > Thanks, Jayapal. > > I was hoping there was a little less java/ more django way to do this > by utilizing a Django ModelForm or InlindeFormSet and rendering > partial views. > > So am I missing the point of InlineFormSets? Can these n

Re: how to implement a data grid? (or populate inlineformset with initial data)

2011-05-31 Thread Javier Guerra Giraldez
On Tue, May 31, 2011 at 9:20 AM, snfctech wrote: > I was hoping there was a little less java/ more django way to do this i haven't seen any Java around Dojo toolkit -- Javier -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: how to implement a data grid? (or populate inlineformset with initial data)

2011-05-31 Thread snfctech
Thanks, Jayapal. I was hoping there was a little less java/ more django way to do this by utilizing a Django ModelForm or InlindeFormSet and rendering partial views. So am I missing the point of InlineFormSets? Can these not be populated with data so they can be used to edit a set of existing re

Re: how to implement a data grid? (or populate inlineformset with initial data)

2011-05-31 Thread jai_python
Hi, Long back i had used Dojo data grid, plz go through my blog http://jayapal-d.blogspot.com/2009/08/dojo-datagrid-with-editable-cells-in.html I am sure that we can do with jquery. Lemme know if u required any help. Thanks, Jayapal On May 31, 6:39 am, snfctech wrote: > I want to display a

how to implement a data grid? (or populate inlineformset with initial data)

2011-05-30 Thread snfctech
I want to display a list of records that have some editable fields and some readonly fields, as well as asynchronously add new records to the list. I thought the way to start would be with an InlineFormSet - but I can't figure out how to populate my formset with initial data. E.g. MyInlineFormset