Menu ▾ ▴

#2 Path for grid images

open
nobody
None
5
2014-08-24
2007-02-22
amackay11
No

styles/grid.css has the following path hard-coded for Grid_Header.gif and Grid_Header_hover.gif images:

/DAV/JS/images/

Also, I had to do the following to get grid images to render:

var grid = new OAT.Grid("mygrid",0,1);
mygrid.imagesPath = "/myhost/ajax/oat-2.1/images";

Perhaps the path could be found, similar to how 'loader.js' finds the 'oat' path?

Discussion

  • amackay11

    amackay11 - 2007-02-22

    Logged In: YES
    user_id=1726227
    Originator: YES

    Should be:
    var mygrid = new OAT.Grid("griddiv",0,1);
    mygrid.imagesPath = "/myhost/ajax/oat-2.1/images";

     

Anonymous
Anonymous

Add attachments
Cancel