Comments (7)
Thank you for this question.
This is correct behavior.
vue-cheetah-grid
does not display elements of <div class=define>
.
from cheetah-grid.
Thank you for this question.
This is correct behavior.
vue-cheetah-grid
does not display elements of<div class=define>
.
Oh ok I see, but how do I implement it to display? I'm sorry but I'm confused why it doesn't show initially. I'm importing it globally, then creating my own component with the grid.
Thank you !
from cheetah-grid.
I may have misunderstood your question.
In your implementation, is the container element of the grid displayed when the grid is initialized?
There may be a problem if the container element is not displayed when initializing the grid.
In this case, after the container element is displayed, you need to call the following methods of the grid instance.
updateSize()
, updateScroll()
and invalidate()
(You need to use [email protected]
.)
from cheetah-grid.
I'm using a single page vue application. Using "cheetah-grid": "^0.7.1"
and "vue-cheetah-grid": "^0.7.1"
The grid is in a component. I'm not running any methods at runtime (this is probably my problem). I guess I need to read up more on this. The only way I was able to get this to display was adding this scoped css to my component: https://www.codepile.net/pile/PdPEgMV7
from cheetah-grid.
Perhaps there is this problem if you do not set the height and width of the container element.
I will try to reproduce it if I have the next work time.
I will close this issue.
If the problem persists please reopen this issue or open a new issue.
from cheetah-grid.
Sorry to keep commenting on this, but I did just as you said and didn't even use a vue component, same exact issue. I even ran grid.updateSize()
, grid.updateScroll()
and grid.invalidate()
. If add that css back like I showed you in my previous link, it displays the grid and data. Otherwise I see nothing... https://www.codepile.net/pile/xOgrzDZg
from cheetah-grid.
@drpcken Thank you for additional information.
I checked the workings of the grid.
I noticed that the grid is not displayed if you do not set the height
for the parent element of <div class="cheetah-grid">
.
So, as you say, css defining is required.
In order to avoid confusion, I added html
with style
to the document sample.
https://future-architect.github.io/cheetah-grid/0.7/demos/gettingstarted/download_vue.html#vue-instance-template
https://future-architect.github.io/cheetah-grid/0.7/demos/gettingstarted/download.html#javascript-html
Thank you for your help.
from cheetah-grid.
Related Issues (20)
- Website is broken HOT 2
- Is the react version not support multiple headers?
- Change the position of the sort icon
- 特定セルの文字色/背景色を変更する HOT 7
- How can I prevent header and row number from being focused? HOT 1
- How define a customer action like autocomplete input (like typehead or vue-simple-suggest)
- Cannot find module 'react-cheetah-grid' in Jest test HOT 4
- Fill Cell by message type HOT 2
- Cell selection behaves strangely in iOS 16 HOT 2
- Support for double and squiggly lines using themes
- Support for triangular mark in the upper right corner like Excel's comments
- Support the thickness of the border.
- Open InlineMenuEditor dropdown with double-click instead
- Working with a single cell HOT 4
- Compatibility for Vue3/Nuxt3 HOT 2
- vue-cheetah-gridのaction propsにつきまして HOT 4
- How can I have each row perform different merge cell logic? HOT 3
- 'Button/Icon' filter in column header HOT 2
- Filtering for validation errors
- cell edit support select and multiselect and datasource is from remote source
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 cheetah-grid.