prerequisite to run data tables in locally.

prerequisite to run data tables in locally.

prashant1prashant1 Posts: 4Questions: 1Answers: 0

Dear all ,

I am new to data table and json and i having doubts regarding data table and all,

plz give me suggestions following questions

1.what prerequisite to run data tables in locally ?
suppose Applications running in localhost .

2.When i set up a database (mysql) Data table allowing null values or it shows any error if values are null.

3.How to Load jQuery File in localhost using wamp it requires full path or file path

<?php . ?>

4.what are the reasons following error message pop up if i run application localhost ?

Data Tables warning(table id='example)'
json data from server could not be parsed this is caused by JSON formatiing error .

Answers

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin

    1.what prerequisite to run data tables in locally ?

    Same as remotely. See the manual.

    2.When i set up a database (mysql) Data table allowing null values or it shows any error if values are null.

    The error message should direct you to this page which discusses the issue and how to resolve it.

    3.How to Load jQuery File in localhost using wamp it requires full path or file path

    Using a standard <script> tag. I would suggest if you don't know the document root of our server, you refer to its documentation.

    4.what are the reasons following error message pop up if i run application localhost ?

    Please see this tech note which the error message should link you to.

    Allan

  • prashant1prashant1 Posts: 4Questions: 1Answers: 0

    hi allan,

    1.manual url shows
    404 - Page not found

  • prashant1prashant1 Posts: 4Questions: 1Answers: 0
    edited December 2014

    plz find debugger code
    iricoz

    what are basic header files needs to run data table locally
    i want to achieve it in localhost using wamp

  • prashant1prashant1 Posts: 4Questions: 1Answers: 0

    i want to achieve localhost using wamp

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395
  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin

    It shows that you have configured DataTables to use an object data source (mData: "id" etc) but your JSON from the server doesn't contain objects, it has arrays. You need to either remove the mData options, or use objects in the JSON return.

    Allan

This discussion has been closed.