robicch / jQueryGantt

jQuery Gantt editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

On chrome after 10 tasks, the gantt chart is no more aligned

masterlilou opened this issue · comments

image

it's working fine on firefow.

Same issue on edge.

I spend 3 hours on this topics but did'nt find any solution.

Same issue on Twproject account

image

A workaround (but it's not working when zooming)

function GanttMaster() {
......
if (isChrome) {
this.rowHeight = 30 + 0.142858505249023*2; // todo get it from css? current cell size => 30.142858505249023
} else this.rowHeight = 30; // for firefox

.......

Issue solved, let me known if you want the correction.

I want the correction please!

Hi, with last update of IE & Chrome, the issue does not exist anymore.
So, my correction is no more needed 😊

re ade585
I have used the plugin from robicch/jQueryGantt from github.
I have (565) lines as tasks. (lines taken from a database table) to disolay.
As a consequence, the page plugin get frozen which means there is no way to edit add only get to display. Chrome also gets frozen.
Please any information how to correct this.? is it a problem of memory or capacity storage on database for the plugin.
Thank you
YB

Hi, no issue detected by creating 565 lines (simple tasks).

Open browser debugger and check js errors, you will see problem root cause.

From my part, I have derived robicch/jQueryGantt source code since a while for me own purpose. For the time being I did'nt publish any release. May be in a near futur 🤞

Re ade585
In opening chrome for robicch jquery gantt I had this Code d'erreur : SBOX_FATAL_MEMORY_EXCEEDED

Hum, difficult to help you on such issue.

Re ad585

Have also this js ERROR...
Any idea?
jquery.min.js:2 Uncaught ReferenceError: contextPath is not defined
at initializeHistoryManagement (gantto2:2339)
at HTMLDocument. (gantto2:124)
at j (jquery.min.js:2)
at k (jquery.min.js:2)
initializeHistoryManagement @ gantto2:2339
(anonymous) @ gantto2:124

Thank you
YB

ho !!
you are using it through your own server.
No I cannot, I use my own server interface.

This error is on localhost! wamp on local ....
AND WHERE DO WE GET contextPath ....
not on server!
How to correct it !

LoL
Thanks

Re ade585,
You said json file implementation!
I suppose good idea
But how to implement it?
Thanks

Re ade585,
For robicch/jQueryGantt plugin,
How to add tasks from a database table? on json file or else?
when I load a json file there is no way to display data newly loaded?
Have you got any version of this plugin that does this in your works??
Thank you so much