Comments (6)
You can't. Internal mechanism is responsible for setting items that overlap. In the new version 4 it will be solved differently and it will be possible.
from gantt-schedule-timeline-calendar.
fixed in 3.33.16
In case the items start at the same time, the item that is added later (in the items array) is dropped below.
Otherwise, the item that starts earlier is higher.
I think this solution is more readable.
from gantt-schedule-timeline-calendar.
please check #380 and download latest version
from gantt-schedule-timeline-calendar.
Interesting fact - if I add reverse() to the itemsArray, then the second column appears in the right order, but first column order breaks.
chart: {
items: GSTC.api.fromArray(itemsFromDB.reverse()),
},
![order2](https://private-user-images.githubusercontent.com/38704980/249484627-55dd5866-bfc3-4218-b276-77eab8b555e7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgyNDgwOTUsIm5iZiI6MTcxODI0Nzc5NSwicGF0aCI6Ii8zODcwNDk4MC8yNDk0ODQ2MjctNTVkZDU4NjYtYmZjMy00MjE4LWIyNzYtNzdlYWI4YjU1NWU3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEzVDAzMDMxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMwMzIxMmEyZDNhNGJlNDQ4MGE4ZWQxOWY1ZWNkNTI2M2I1YjJlOTdhMjY1YjExNDA0N2Y4NWVmOTA4NzJhMGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.9u4_dXGALAwF8dylrYNRHTJ8MI5EHWF9ABDoGqHYUKA)
from gantt-schedule-timeline-calendar.
I fixed it by updating all items manually after move/resize, but anyway thanks for update. It will help us with refactoring
from gantt-schedule-timeline-calendar.
#380 added comment there
from gantt-schedule-timeline-calendar.
Related Issues (20)
- The data I returned comes with a specific parameter, can the data border be dashed HOT 1
- Select a certain piece of data and click on split to see if it can be split into two parts HOT 2
- Split a progress bar into two progress bars HOT 1
- Updated chart items, how to update the view HOT 3
- 3.33.16 move out stacking items not update row height HOT 11
- Scroll multiplier doesn't work with float numbers and looks laggy HOT 5
- Unhandled typeerror out of nowhere reading 'dataIndex' HOT 2
- when the start date and end date is same the progress bar is not visible HOT 5
- Connection error HOT 1
- How to scroll to position vertically in coding?
- How to change the current column width by dragging the date cell like excel?
- Issue with Rendering Component After Upgrading GSTC to Latest Version HOT 2
- How to entegrate this plugin features to my .net core mvc html page ?
- How to disable selection for scrolling by grid drag on touch devices? HOT 4
- error is here HOT 1
- How to use gantt-schedule-timeline-calendar in a redux application? HOT 2
- Time bookmarks are not rendered correctly when mounting multiple components HOT 2
- Is there a weekly view? HOT 2
- Does it support multiple languages HOT 1
- Distribution size is too big HOT 6
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 gantt-schedule-timeline-calendar.