RE: Error using data store

I am trying to use the data store but i have a problem adding it into my app.

I am using the suite and initially thought it was included:

 <script>
            var myDataStore = new dhtmlXDataStore();
</script>
 <script src="dhtmlx.js" type="text/javascript"></script>
<script src="datastore.js" type="text/javascript"></script>

I was getting the error:

Uncaught ReferenceError: dhtmlXDataStore is not defined

I went on to add the specific datastore.js but now i have two more errors:

 <script>
            var myDataStore = new dhtmlXDataStore();
</script>
 <script src="dhtmlx.js" type="text/javascript"></script>
<script src="datastore.js" type="text/javascript"></script>

Error:

Uncaught ReferenceError: dhtmlXDataStore is not defined test.html:4
Uncaught TypeError: Object #<Object> has no method 'splice' 

I had tried this some time back it was working…is there something am missing out!?

Which version of dhtmlxSuite you are using ?
If you are using dhtmlxSuite 3.6 - dhtmlxDataStore must be already a part of dhtmlx.js

I’m getting this same error with Suite v4.0. I’ve looked for the datastore.js file to include as a fallback measure, but it doesn’t exist in my v4.0 directory structure at all.

Never mind. I put in the dhtmlx.js from the v4.0.3 download, and I am no longer getting the error.