Hi!
I’m trying to use the grid with Django, so I build the json like
….
rows = serializers.serialize(“json”,rta)
dades = ‘{“total”:%(pages)s, “page”:%(page)s, “records”:%(total)s, “rows”:%(rta)s }’ % {‘pages’:pages, ‘page’:pagina+1, ‘tota
l’:total, ‘rta’:rows}
return HttpResponse(dades, mimetype=’application/json’)
where rows is the djanco converted json string. So it seems a work for repeatitems:false and as django puts all the date in a dictionary called fields, I have tried to set cell:”fields”.
But this no works. In a debugging session with xfire I have seen that cell value is not “fields” is “cells” and repeatitems is true, but I have set it to false.
I’m working with 3.1 version.
Best regards,
—
Antoni Aloy
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top