question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is there a way to set parent folder for Tabulator library?

See original GitHub issue

I installed the download zip version of the Tabulator. I am getting an error “Tabulator is not defined” when I try to set the Tabulator library in previous directory. I have placed the Tabulator library in the previous directory to where the application lives.

I have tried to set the previous directory path in my application.

<link href="../tabulator-master/dist/css/tabulator.min.css" rel="stylesheet">
<script type="text/javascript" src="../tabulator-master/dist/js/tabulator.min.js"></script>

My application tree view:

/somelongserverpath/tabulator-master/
/somelongserverpath/MyApplicationUsingTabulator/

I am expecting this library to work, but I am getting an error “Tabulator is not defined” when I load the page.

This library works successfully when I place it in the application directory. But I need the library to be in the parent directory as I have other applications to build using this library.

I did post this question on StackOverFlow early last week: https://stackoverflow.com/questions/55616366/is-there-a-way-to-set-parent-folder-for-tabulator-library

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:26 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
bioscorpioncommented, Apr 25, 2019

@aklaver I did redownload the latest production minified version just now and that fixed the issue! For whatever reason when I first downloaded the jQuery package from the beginning as you first recommended I had the corrupt minified version the whole time.

So now this works:

<script src="../js/jquery-3.4.0.min.js"></script>
<script src="../js/jquery-ui-1.12.1.custom/jquery-ui.min.js"></script>
<script type="text/javascript" src="../tabulator-master/dist/js/tabulator.min.js"></script>
<script type="text/javascript" src="../tabulator-master/dist/js/jquery_wrapper.min.js"></script>

Thnak you for all your help @aklaver !!! 😃

0reactions
aklavercommented, Apr 25, 2019

If there is it looks like the jquery-3.4.0.min.js. To test you might try:

  1. Using the uncompressed version of it with the minified version of the others. or
  2. Download the file again or use a CDN version to see if is download corruption. or
  3. Another minified version of jQuery: https://code.jquery.com/jquery/
Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there a way to set parent folder for Tabulator library?
This library works successfully when I place it in the application directory. But I need the library to be in the parent directory...
Read more >
Examples | Tabulator
Interactive examples of all the features available in Tabulator tables and data grids.
Read more >
Set tabs and indents in Adobe InDesign
Tabs apply to an entire paragraph. The first tab you set deletes all default tab stops to its left. Subsequent tabs delete all...
Read more >
Useful script snippets | Tabular Editor Documentation
DisplayFolder // Display Folder ); // Set the format string on the new measure: ... This illustrates how you can execute one (or...
Read more >
Tabulator 4.0 Launched Today - Interactive tables made easy
There is a bunch of data grid libraries by now, but the great ones are ... using flex or a css calc and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found