Connector in v .40

Hi and thanks again for this great product.

I read in the Forum and on Instructions that in 4.0 version is not necessary include connector.js in the html page but i’m not able to do it.

if i omit the include i’ve an error when i call loadxml… The same situation in my server code, if i omit the “require” i’ve an error.

What’s wrong ?

Please an answer thanks.

If you are using dhtmlx.js file, it already includes dataprocessor and connector - so there is really no reason to include those files second time.

Please provide some more details about the error.

Hi Stan,

Nice to hear from you again.

I understand that is not necessary to include connector.js in html page, but the command “require” of grid_connector.php or form_connector.php etc. in the php script seems to be necessary the same to initialize the various connector (FormConnector, GridConnector etc).

These “require” are still necessary or something has changed also on server-side ? i didn’t find anything about it. In this case, in effect, the connector archive with its files would be still necessary !

Can you explain to me ?

Thanks a lot.

Server side code works the same as previosly - you need to include (require) related connector file and related db file. Server side wasn’t affected by client side changes. ( so code that you have used previously will work without any modifications )

This means that you have simply included connector.js in dhtmlx.js while the various php file are still necessary and is necessary to include them in php scripts.

That’s ok ?

Thanks again Stanislav but could i ask you about another problem ?

Please read my other post: viewtopic.php?f=2&t=36991

there is something wrong also in your documentation example because the cell headers are shown as solid color instead a gradient.

Many Thanks.

This means that you have simply included connector.js in dhtmlx.js
Yes, this is correct.