Thanks for the tips.

The real reason for my trouble was not understanding the relationship
between crud's HTML default views, and where to place the line "def
data(): return dict(form=crud())". I assumed this was but in the
controller of the *plugin*, when in actuality (if you want to use the
default HTML views) you need to place it in the "default.py" file of
the application.

Also, for reference, here's the slice for SQLFORM.grid:
http://www.web2pyslices.com/slices/take_slice/148

On Oct 20, 10:18 pm, greenpoise <[email protected]> wrote:
> got it..thanks
>
> On Oct 20, 8:04 pm, Cliff <[email protected]> wrote:
>
>
>
>
>
>
>
> > The very long thread (~115 posts) about grid and smartgrid is the best
> > source.  Sorry, don't recall the title.
>
> > On Oct 20, 10:57 pm, greenpoise <[email protected]> wrote:
>
> > > I keep reading SQLFORM.grid. Any example out there with the different
> > > options?
>
> > > thanks
>
> > > Dan
>
> > > On Oct 20, 7:35 pm, Massimo Di Pierro <[email protected]>
> > > wrote:
>
> > > > Do not use crud.select. use SQLFORM.grid instead. So much better.
>
> > > > On Oct 20, 8:34 pm, Matthew <[email protected]> wrote:
>
> > > > > Is there any way to change the default behavior of the CRUD select
> > > > > view when using a plugin? Right now, I have to navigate to the select
> > > > > screen with ".../plugin_wmgraph/data...", but the generated links on
> > > > > the page point to ".../default/data...", so an error occurs when
> > > > > clicking them.
>
> > > > >http://img6.imagebanana.com/img/aw2vsbdl/pTZ6ZW0mVK.png
>
> > > > > Thanks,
> > > > > Matthew

Reply via email to