In that case I must be missing something trivial....
I have the nav buttons set up as follows:
navbuttons_options = {
"view":True,
"edit": True,
"add": True,
"del": True,
"search":True,
"refresh":True,
}
and in the widget I have = JqGrid(... navbuttons_options =
navbuttons_options ...)
The widget renders as expected on-screen, however, running my cursor along
the bottom edge of the grid (ie over the buttons) I see an outline of the
button (allowing me to click and select it) but the *image* from the button
is missing.
I've set up your package using "python setup.py install". The .egg directory
contains EGG-INFO and tw/jqgrid /static/css /static/i18n and
/static/javascript. (ie all as expected)
The "full" installation I have (set up in my tg project/public) has
/development-bundle/themes/base/images and this directory contains various
ui-icons*.png files.
The image files don't seem to be present in the JQGrid package
Is that what's missing??? And if so, how can I point the widget at the
correct images?
Regards,
Rob
On 27 July 2010 13:56, Nicolas Laurance <[email protected]> wrote:
> On 07/27/2010 02:41 PM, Robert Sudwarts a ecrit:
> > Hi Nicholas,
> >
> > Thank you *so* much for this... Really timely as I had imported of the
> > jqgrid css/js etc had a couple of 'static data' grids up and running and
> > was to start playing with json.
> >
> > As I say, really timely...! And I hope you're ready for two questions!
> >
> > 1. The grid I've rendered from your package so far is missing the button
> > icons (for search, add, delete etc) I assume that this would be fairly
> > easy to patch up by copying a folder (from somewhere to somewhere...)
> > Do you have any suggestions to fix this?
>
> hi,
>
> have you checked the README example ?
>
> I have in my setup the search button
> navbuttons_options = {
> "view":False,
> "edit": False,
> "add": False,
> "del": False,
> "search":True,
> "refresh":True,
> }
>
> It didn't work for me until I had the full jqgrid lib (included in my
> release)
>
> make sure the js you include has the correct lib
>
> >
> > 2. Would there be any way to implement UI themes with the package you've
> > developed so far?
>
> hmmm I guess I see what you mean
> alas tw.jquery doesnt embark ui.theme
>
> In the project in which I use tw.jqgrid I have a ui.theme (css and
> images) in my static folder.
>
>
>
> >
> > Many many thanks,
> > Rob
>
>
> If this helps you, please reply to the list with these extra infos, I
> shall update de documentation accordingly
>
>
> NIL
>
>
>
> >
> >
> >
> > On 27 July 2010 11:28, NiL <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> > tosca widgte wrapper around the jqgrid plugin to display tabular
> data
> >
> > can be used as a replacement for flexigrid
> >
> > http://pypi.python.org/pypi/tw.jqgrid
> >
> > NIL
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "TurboGears" group.
> > To post to this group, send email to [email protected]
> > <mailto:[email protected]>.
> > To unsubscribe from this group, send email to
> >
> > [email protected]<turbogears%[email protected]>
> >
> > <mailto:turbogears%[email protected]<turbogears%[email protected]>
> >.
> > For more options, visit this group at
> > http://groups.google.com/group/turbogears?hl=en.
> >
> >
>
>
>
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.