Comments (5)
This is a tricky one.
The problem is that the $watch
here is not fired when widgets are added.
This is easily solved by adding a true
flag as the third parameter here. (why?).
However, the tricky part is that gridster
does not support dynamic content. Once you run it on a certain element, you cannot run it again (when the data is updated). There is a destroy
method, but unfortunately it completely clears the element's content.
Options:
- hack
gridster
- try out
gridster
fork with support for leaving the DOM intact when callingdestroy
- migrate to an angular supporting package like angular-gridster
I don't like any of the above. So far I have tried 1 and 3 without any luck :/
Advice is welcome.
from redash.
#4: Instead of creating a new gridster object (calling $.gridster), let's reuse the existing one. And when changing the elements make sure they're added/removed using the API.
WDYT?
from redash.
Tried that as well. didn't work.
Maybe I'll try it again...
from redash.
I think that if you see that it still doesn't work, let's leave it be for now and fry the bigger fish.
from redash.
bring it on! (read: assign me)
from redash.
Related Issues (20)
- cannot import name 'DEPRECATED_SERVICE_NAMES' from 'botocore.docs' while using google sheets HOT 1
- Unsupported OP_QUERY command: connectionStatus. The client driver may require an upgrade HOT 3
- Dashboards doesn't work after upgrade to 10 version. HOT 6
- Mongo Connector Fails in loading any data due to unserializable Objectid property HOT 3
- Redash WebApp and Redash API are giving different results for the same query HOT 2
- Mongo Query Runner Processing time is broken HOT 1
- Add UI Warning/Error for Queries which have Alerts configured
- Refresh Schedule not working HOT 1
- Errors of queries will not show from ClickHouse v24 and v23 HOT 3
- postgres data source with 2 databases cannot connect to other databases "SSL connection has been closed unexpectedly"
- A db migration does not take Query#apply_auto_limit in count HOT 4
- The query result displays large numbers as NaN HOT 1
- Can not upgrade redash/base to redash/preview HOT 14
- Error running query: 'ascii' codec can't encode characters in position HOT 3
- facing internal server error after clicking on queries option HOT 2
- Add generic OAuth2/OIDC authentication HOT 1
- Uncaught promise error in Edit Visualization Dialog Modal
- date parameter configuration in redash self hosting. HOT 3
- Redash does not connect to Microsoft SQL Azure HOT 2
- queury in queue issue
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 redash.