The tablefiller gets the data through the _do_get_provider_count_and_objs
using self.__provider__.query to actually retrieve it.
You can provide your own tablefiller with
custom _do_get_provider_count_and_objs if you want to change the returned
data.




On Mon, May 6, 2013 at 10:54 PM, Craig Small <[email protected]> wrote:

> On Mon, May 06, 2013 at 09:49:13AM +0200, Alessandro Molina wrote:
> >    Uhm, I have never used tw2.jqgrid, but theoretically it should be
> possible
> >    by providing to __table_options__ the __base_widget_type__ option
> with a
> >    subclass of jqGridWidget that has an url argument pointing to
> get_all.json
> >    The core issue will probably be that the output of get_all.json is not
> >    compatible with the input requested by jqGrid by default. Each grid
> has
> >    its own way of requesting data.
> It's basically a replacement for the Dojo grid as that's a TW1 widget.
> I got the front-end (ie show me the grid with the columns) done and will
> get to to the back-end soon (show me the data in the format I want).
>
> It's minor things like that, dojo wants the url as a property called
> action while jqgrid wants it called url. The next step is to find where
> the TableFiller gets the data and sends it along and change the format
> to what jqGrid expects.  The actual coding will take a few minutes, its
> figuring out where those line go that take the time.
>
>  - Craig
> --
> Craig Small VK2XLZ   http://enc.com.au/          csmall at : enc.com.au
> Debian GNU/Linux     http://www.debian.org/      csmall at : debian.org
> GPG fingerprint:     5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/turbogears?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to