Comments (1)
I have somewhat the same problem. No filter, only placeholder...
The strange thing is - Sometimes it works (opening the daterangepicker UI) and the other times it doesn't.
In order to ensure the scripts tags are set I use
created() {
let jqueryScript = document.createElement('script');
jqueryScript.setAttribute('type', "text/javascript");
jqueryScript.setAttribute('src', "//cdn.jsdelivr.net/jquery/latest/jquery.min.js");
document.head.appendChild(jqueryScript);
let momentScript = document.createElement('script');
momentScript.setAttribute('type', "text/javascript");
momentScript.setAttribute('src', "//cdn.jsdelivr.net/momentjs/latest/moment.min.js");
document.head.appendChild(momentScript);
let dateRangeScript = document.createElement('script');
dateRangeScript.setAttribute('type', "text/javascript");
dateRangeScript.setAttribute('src', "//cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.min.js");
document.head.appendChild(dateRangeScript);
},
I found out that if I am using the filterable
field, or change the daterangepickerOptions
it also creates incosistancies.
I believe that the problem is with the daterangepicker
and not with vue-tables-2
However, can you please share the best practice of how to ensure that the datepicker is loaded in a Vue component page?
here is the error from the console
Uncaught TypeError: Cannot read property 'fn' of undefined
at cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.min.js:7
at cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.min.js:7
at cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.min.js:7
from vue-tables.
Related Issues (20)
- How to disable pagination component HOT 1
- Is there a way to freeze columns and make other columns scrollable? HOT 1
- Is there a way to center specific columns HOT 1
- click event on rows
- server side implementation HOT 1
- Q: Custom columns should not be show if not defined in columns attribute? HOT 1
- Laravel Implementation HOT 1
- Feature request - Column grouping
- Q : "pagination-info-template" no has data๏ผ HOT 1
- Use if-else to prevent data.json error
- Date format from server HOT 2
- Pagination from server HOT 1
- Unknown custom element: <v-server-table> - did you register the component correctly? HOT 4
- dateformate and server table HOT 1
- [Question] How to display a row index/running number column?
- V-Server-Table (vuetables2) HOT 1
- Display json filte HOT 1
- How to implemen server-side in Lumen? HOT 2
- Missing ref owner context HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-tables.