Nicholas, Ah right... Got it! The images *really* do need to be dumped directly into project/static/images That works perfectly.
Humble suggestion -- this instruction should be implicit in your documentation ... Unless it already is in which case I humbly apologise!! Regards, Rob On 27 July 2010 17:20, NiL <[email protected]> wrote: > Hi, > > well it was on purpose that I didn't include the images from ui.theme > in the package > there is no folder images in tw.jqgrid > > push the various ui-icons*.png files directly in your_project/static/ > images > > we were thinking of a transverse tw.uitheme package that could be used > by several components > Or maybe join those 5 tw.xxxx packages in a bigger lib > > regards > > NIL > > On 27 juil, 17:31, Michael Pedersen <[email protected]> wrote: > > I just looked at the MANIFEST.in file here: > http://code.google.com/p/twjqgrid/source/browse/trunk/MANIFEST.in > > > > It's missing the recursive-include for the images directory. It's a > pretty > > trivial change, and one that's really easy to miss (speaking from sad > > experience). Hopefully Nicolas can release a new version with that > include > > sometime shortly > > > > On Tue, Jul 27, 2010 at 9:18 AM, Robert Sudwarts > > <[email protected]>wrote: > > > > > > > > > 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]> > <turbogears%[email protected]<turbogears%[email protected]> > > > > >> > > > >> > <mailto:turbogears%[email protected]<turbogears%[email protected]> > <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]<turbogears%[email protected]> > <turbogears%[email protected]<turbogears%[email protected]> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/turbogears?hl=en. > > > > -- > > Michael J. Pedersen > > My IM IDs: Jabber/[email protected], ICQ/103345809, > AIM/pedermj022171 > > Yahoo/pedermj2002, MSN/[email protected] > > -- > 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]<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.

