robicch / jquerygantt Goto Github PK
View Code? Open in Web Editor NEWjQuery Gantt editor
License: Other
jQuery Gantt editor
License: Other
It's only recent thoughts.. likely you don't have in plan to work it in practice.
it would be great to implement something like a lazy load of data in two cases:
I understand it's not easy to implement but I think it would be useful someday for anyone:)
October 15, 2016 is duplicated, and tasks are in trouble in alignment.
Dear @robicch ,
i have a problem when enable template " 'TASKROW' "
(master branch) (latest version)
No template found for type 'TASKROW'
location in the view :
<div class="__template__" type="TASKROW"> <!-- ... --></div>
regards,
KinGen
try to resize the taskbox for minimum days possible and it will disappear
Hi Roberto!
Just wanna ask and interest for a future..
your diagram is drawing good proportionally in scale of days and other ranges.
The question is:
have you in plans to implement more detailed scale when we can see time-score while a whole day/night?:)
I know there are might be some disadvantages, such as draw performance and so on but what do you think?
Is there an option to drag and drop a Task to another Task Group. For example, here is my data looking like:
TaskGroup1
Task1
Task2
TaskGroup2
Task3
Task4
I would like to move Task4 under TaskGroup2 to TaskGroup1 under Task1
Thanks.
Hi,
I am trying to add a new column in gantt. The new column is accepting the value from the select box. I am able to show that new column and able to select any value from drop down, but while saving the gantt that particular column and value is not passed in json.
If I try a new text column the it works perfectly.
Can you help to solve my issue.
Thanks,
Anita
Chrome is warning of a deprecation:
'SVGElement.offsetParent' is deprecated and will be removed in M50, around April 2016. See https://www.chromestatus.com/features/5724912467574784 for more details.
Hello congratulation by your great job,we are been working in your project and According to our methodology that we follow said that the dates of the mother activities should be governed in its start date by its smallest start date of its children activities and in the case of the end date of the mother activities should be governed by its bigger end date of its children activities
Part of this process is working correctly but the problem is that when you move an children activity to the right, the mother activities still with the same date, when shoud also move with the same dates that the children activities.
we tried to fix according with our methodology but we cant so we think that the problem its in the file ganttTask.js in the function updateTree .
Sorry by my mistakes in my writting , my english si not perfect.
I want to show date format as yyyy-mm-dd or mm-dd-yyyy in Gantt. Its not supporting other than dd/mm/yyyy date format.
Dear @robicch ,
I have a big issue,
Root / Parent end date not following latest task date
example at root => its mean the range of the project itself, (from starting to end)
when i try i just find self.master.changeTaskDates(task, task.start, task.end);
any info about this ?
Gantt icons are not loading when I placed gantt folder in a separate path like 'libraries/jquery/gantt'.
Because we resourceURL = 'res/';
if using an external data provider it's hard to calculate the working days. Instead it would be great if one could specify a duration between two dates. Would be fine enough if weekends are just ignored to calculate the actual working days.
After task row refreshment, want to alert the new date values. How can I do that ?
Is there a way to set the task background color for the task row, this will allow the users to identify task / task groups at a glance
Let us consider, I have two tasks with start date and end dates and Task2 depends on Task1.
Once chart is loaded, currently after showing the Task1, the Task2 start date is being considered as the next consecutive date of Task1 end date (Even if Task2 has different start date).
Someday we had loaded a lot of records (2 thousands) in Gantt and started to scroll down/up. Sometimes the header of table in the first splitter goes away (up and down).
In light of the fact that we change a lot in this component I thought likely it's my fault and carried out an experiment by loading experimental data in the original Gantt diagram. So here is the same symptom on screens:
Can't understand dependencies and conditions when it happens, how we could fix it?
The Export button linkes to gimmeBack.jsp, however gimmeBack.jsp is not included in the Github repository. I'm not sure if this is intentional or not, but it does make the export button not useful.
Hi, i need an information, i found out that twgantt was getting slower with a large set of events/gantt in one project which is normal. With 100 events, i recorded that the function loadproject was taking 2.8s.
So i searched a bit the reason and i have been able to reduce the execution to 1.7s. What i did is simply comment one line in ganttMaster.js, function loadproject.
//[expand]
//this.gantt.refreshGantt();
(line 390 in my custom version of twgantt)
I did a few test and haven't been able to see a difference in functionnality of twgantt.
Since the expand functionnality is somewhat new, i'm just asking this: is the line i commented really doing something, it seems refreshing is done even without it.
Thanks btw, twgantt is pretty cool, feel free to tell me if i should'nt ask this here, i'm discovering github ;)
Your product, jQueryGantt is the best among ganntt based on jQuery.
But mannual is insufficient so there are some problems in using.
Can you help me?
Thank you.
Hi,
I am facing an issue while loading the saved resources for tasks.The resources added are shown in the listing of all tasks,but when i try the edit of a task,there is no resource selected there and the console shows an error "jquery.JST.js:99 JST error: ASSIGNMENT_ROW obj.assig.id.indexOf is not a function".Please reply back it's urgent
The documentation link in the readme is from year 2012. Is the documentation still valid for the latest version
Hello,
Thanks for such a good component.
We are trying to use it on one of our application and facing issue with one of the scenario.
When a sub task calendar days are increased then, the calendar days of main task increases automatically. But when the same sub task days are reduced the days of main task are not reducing automatically - it reduces only when we manually drag the gantt bar of main task.
Can you please help us and let us know if we are missing anything in implementation.
Thanks for the help in advance.
Regards,
Nidhi Sarvaiya
I've noticed one thing but didn't see yet how it works inside.
for example firstly select about the last day of a month
then make focus anywhere else and click again on that date-item month
the caption of month is changed but we see the same calendar (days) for the previous month:
seems to me in this case we have a mismatch of caption of calendar and real days.
is it kind of a bug or a feature?
Hi,
But i just have one question.
What means est.wklg ??
Regards.
Nelson.
If I do a task depend on other then the start date is locked, OK. But when I do this task depends on another become sub-task she continues with the blocked date.
Try, do a task depend on someone, then click "indent task", the task continues with the blocked date.
Congratulations, for excelent and great work !!! I hope don't bothers you, Please show me information about how to use templates and then createModalPopup for capture input value; I was playing with, templates create pretty good and then append to ModalPopup by createModalPopup, but Decorate does't make the click event and I can't use input type hide where put intereted value...
$.JST.loadDecorator("SELECT_PROJ", function(myselTr, myselres){
myselTr.find("#projectList>ul>li").click(function(){
var mid=$(this).id;
alert("list selected id "+$(this).id);
$("#selectedpry").val(id);
});
});
Again very good work, thanks for your attention...
cheers !
I am getting the error in removeClass function of svgdom:
Uncaught TypeError: Cannot use 'in' operator to search for 'marginTop' in undefined
any ideas?
In Chart there is no much UI difference between milestone and task.
It would be a good idea to use modal bootstrap and bootstrap datepicker.
Strange I have this error in Internet Explorer 11
it happens after execution
taskBox.find(".linkHandleSVG").mousedown(function (e)..
in ganttDrawerSVG.js file
so seems linkHandleSVG doesn't support property or method getElementsByClassName.
could you help me.. might be some problem with migration on jquery 2.1.3 I use?
Hi again!:)
Now I'm interested in printing out diagram.. but it looks another way, not like people wanna see it on a paper:
we have two different lists.
is it possible to print the diagram (both of two splitBoxes) in one list like we see it in browser window (side by side, quite the contrary)?
and then, for instance, to prolong the second splitBox with graphic into the other lists?
Hi Robicch ,
I tried to create some new thing in gannt,
I tried to add 2 more date columns in gannt , some minor changes I have done in js and the dates are coming fine but when I try to updates the dates via calendar it roll back to previous dates
Can u tell me the steps to add extra date columns in Gannt Chart
Hi,
thanks for this repo!!!
I'm using jquery 1.12.1, and i got this error: localStorage.getObject is not a function
I changed to : localStorage.getItem
and works fine!
hello everyone, please im trying to integrate this chart with a Spring MVC project and i found my self stuck in the middle , can anyone help me please ?
Hi, i have been using your library for the past 6 months and it works amazingly well. But, there is one issue that i have come across recently wherein when the tasks are minimized, the focus on the the gantt editor is lost and the down and the up arrow keys behave a liitle wierd . Have attached a screenshot for the same.
Hi I am Thankful to the team to create such a great tool but in my project I am using Jquery-1.11.2.js
which is creating conflicts in datefield of Gannt Please tell how to get rid of this issue
It would be useful if it wasn't particularly on more complex charts.
Dear @robicch ,
here i made a few fix to the code of yours, (see the preview at attachment img)
so that user can make their 1396994400000
to the exact time : Wed Apr 09 2014 05:00:00 GMT+0700
first see your gantt.html
then edit function loadFromLocalStorage()
code , here :
function loadFromLocalStorage() {
var ret;
...
//actualiza data
//var offset=new Date().getTime()-ret.tasks[0].start; //original Master Code , just comment it.
var offset=ret.tasks[0].start/100000; //Do / add this line code this one to make it independent
console.log(offset);
for (var i=0;i<ret.tasks.length;i++)
ret.tasks[i].start=ret.tasks[i].start+offset;
}
ge.loadProject(ret);
ge.checkpoint(); //empty the undo stack
}
thx, @robicch for your TWproject
hope you like it :D
Regards,
Styles should be applicable for library tags, not for other tags from same page
Firstly thanks for creating and open sourcing such a wonderful plugin. In one word, its amazing.
This one is an issue comes up with new jquery versions as jquery has removed the browser detection in latest versions, the jquery.timer.js throws an error while trying to use the function [line 132~]
Commenting that function (because I don't use MSIE) solves the problem but I guess there can be other elegant solutions, like using the jquery backward compatibility plugin.
Is there any plans to add a view that will enable the user to view tasks in hours and minutes instead of days.
Hi Roberto!
it's not an issue actually:) smth like an offer to change with snippet of code
I just wanted to add that (my) users claimed that it's not convenient to scale diagram when a project is very lingering in time.
when refresh gantt in js, the scroll position save and recover not correctly so I changed the code a bit and seems it's more comfortable to work that way:
https://gist.github.com/Edisson/8d5bf192eba0fd11225d
what do you think, Roberto? is it reasonably?
moreover I remove centering on today because it's move after saving the project - also not convenient when project is long, need to scroll back every time if we edit or watch smth.
If I am updating any task and this task is depended by any other-task.
in such a case other-task start-date is getting modified, which is correct. but can you let me know where is the code written for updating depended task dates.
or is there any function to get the depended tasks id.
you can see in attachment. if i updated the Task 4 then Task 5.1 is also gets modified. but only Task 5 is showing it has been modified.
the green color showing modified or effected column by any changes if you do.
I have more than 100 record , but when i am modifying startdate /enddate /duration. it’s taking too much time to update its all parent dates (from last parent to first top level parent).
I have been modified Gantt chart very much like, I added two dropdown to select assign user to each task,
Progress and Budget column of each task.
but only when modifying dates, it’s taking too much time.
is it possible that when i try to modify dates it should modify only text on the gantt editor.
Hello,
in the sources there is no ganttPrint.css but it's used in the gantt.html.
Is it possible to add the file to the repository ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.