Can't figure out how to get label instead of columns...

If I could do :

    labels = (request.vars.labels or error()).split(',')

instead of :

    columns = (request.vars.columns or error()).split(',')

I could then do :

    fields = [table[f] for f in labels]


Richard



On Wed, Sep 29, 2010 at 3:29 PM, mdipierro <[email protected]> wrote:

> good point. Need to be fixed. Look into /controllers/plugin_wiki.py
> funciton jqgrid()
>
> On Sep 29, 2:23 pm, Richard Vézina <[email protected]>
> wrote:
> > Hello,
> >
> > I define my field label in my model, but the jqgrid available by plugin
> wiki
> > not taking them into consideration.
> >
> > How can I get my label instead of field name?
> >
> > Richard
>

Reply via email to