dhtmlxDataView has Error , doesn't it?

I get standard dhtmlxDataView and I open sample initialization, I see error in dhtmlxdataview.js ?
How do I load samples of dhtmlxDataview ? Can you help me ?


The next samples are DB related and requires php support and correctly configured DB

* 01_initialization\01_dynamic_loading.html 
  • 01_initialization\02_dynamic_paging.html

  • 01_initialization\03_static_loading.html

  • 01_initialization\04_static_paging.html

  • 01_initialization\06_paging_custom.html

  • 06_dataprocessor\01_adding.html

you need to

*  have MySQL and PHP 5.x
  • import DB dump from common/dump.sql

  • change DB connection settings in common/config.php

Next samples

* 08_integration\01_drag_grid.html 
  • 08_integration\02_drag_tree.html

  • 08_integration\03_editor.html

  • 08_integration\04_layout.html

requires external components

Its recommended to run samples through any kind of webserver.

If you are just checking out the Dataviewer samples and get the responseText error another way to overcome that error is to just replace the appropriate data.php file with this…

<?php header('Content-Type: text/xml'); header('Cache-Control: no-cache, must-revalidate'); //A date in the past header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); echo '<?xml version="1.0" encoding="ISO-8859-1"?>';

echo ‘’;
echo ‘’;
echo ‘’;
echo ‘’;
echo ‘’;
echo ‘’;
echo ‘’;
echo ‘’;
echo ‘’;
echo ‘’;
echo ‘’;
echo ‘’;

?>

This means you will not have to bother with setting up your mysql database if all you are doing is a few minor tweaks to check out the functionality.