Zero configuration error

Zero configuration error

susersuser Posts: 68Questions: 18Answers: 0
edited August 2016 in Free community support

i am trying this https://datatables.net/examples/basic_init/zero_configuration.html

Zero configuration


<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script> <script src="Scripts/map/jquery.fullbg.js"></script> <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=AIzayC-o_Xf8Ki5ritxY2HRgOpEyLgR5msc&sensor=false"></script> <link href="Styles/stylechart.css" rel="stylesheet" /> <link href="Styles/fixed-navigation-bar.css" rel="stylesheet" /> <link href="Styles/map.css" rel="stylesheet" /> <%-- //for gird--%> <link href="Styles/grid/gfile_style.css" rel="stylesheet" /> <script src="Scripts/grid/gfile.js"></script> <script src="Scripts/grid/gfile2.js"></script>

and

<script type="text/javascript">

         $(document).ready(function () {
             $('#GridView1').DataTable();
         });
     </script>

but this show error on console
Uncaught TypeError: Cannot read property 'mData' of undefined
home.aspx:97 Uncaught TypeError: $(...).fullBg is not a function

i am using gridview not table

so is that possible for gridview?

Answers

  • allanallan Posts: 61,697Questions: 1Answers: 10,102 Site admin

    What is gridview?

    The mData error you are seeing is likely caused by the number of cells in the table not being equal to columns X rows. However, without a link to a test case (which is required in the forum rules), it is impossible to say for sure.

    Allan

  • susersuser Posts: 68Questions: 18Answers: 0

    i mean i am using asp grid-view control instead of table so with gridview this works or not?

  • allanallan Posts: 61,697Questions: 1Answers: 10,102 Site admin

    What HTML does a gridview output? Does it meet DataTables requirements?

    Allan

This discussion has been closed.