folders structure

It looks like css files expect the imgs folder to be located under it.

when integrating into a web project usually we have css folder to include all css files,

images folders to have al images located underneath it.



my folders structure for dhtmlx is:

all js files under main js/dhtmlx folder

all css files under css/dhtmlx folder

all images under images/dhtmlx folder



1. is there a way to have images located this way without changing the css?

2. is there a better recommended way for dhtmlx folders structure?



thanks,


Folders css doesn’t require images.


The path to the icons (custom images) can be defined using userdata:


myFolders.setUserData(“icons_src_dir”,"…/images/dhtmlx/");


Please, see the sample in the package dhtmlxFolders/samples/initialization/folders_init.html



Sorry,
 I did not refer to Folder component,
my question was referring all components…folders structure.
I’m using currently Grid,Treegrid,Combo,Calendar
calendar is using imgs under css…
I was looking for a generic solution to know how to integrate better.


Yes, some components reguire the specific forders structure.


The paths to the images can be changed directly in the css files.