Version 1
Version 1

How to Add a License

The DataViewsJS evaluation version displays a watermark in the lower-right corner. Set the license key to update and use the licensed version.

Add a reference to the DataViewsJS license that you must have received when you purchased the product. Add the reference before the grid is initialized. For example:

<head>
  <title></title>
  <link rel="stylesheet" type="text/css" href="[Your Stylesheet Path]/gc.dataviews.core.min.css" />
  <script src="[Your Script Path]/gc.dataviews.common.min.js" type="text/javascript"></script>
  <script src="[Your Script Path]/gc.dataviews.core.min.js" type="text/javascript"></script>
  <script src="[Your Script Path]/gc.dataviews.grid.min.js" type="text/javascript"></script>
  <script>
    // put your license here
    GC.DataViews.LicenseKey = 'your license key';
  </script>
</head>

Note: If you do not have a trial or production license, DataViewsJS can only be used locally.