Giter VIP home page Giter VIP logo

jquerygantt's People

Contributors

bestken avatar cebjyre avatar clockwerx avatar haonan-hhn avatar marclaporte avatar martinussuherman avatar mateuscpf avatar namasteai avatar qu4d avatar robicch avatar rocco avatar thereluctantheroes avatar valedale avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jquerygantt's Issues

Lazy loading

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:

  1. load/draw tasks when we click "plus" in the dataTree and not all data at once.
    because if there are a lot of tasks from server it takes time to put it all in diagram
  2. loading/draw calendar only in certain interval and load more dates while scrolling.
    when we have different projects are loaded with different date ranges it takes a huge time to draw several decades (of years)

I understand it's not easy to implement but I think it would be useful someday for anyone:)

No template for TASKROW (error when enabled)

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

error when template taskrow enable

Time-scheduling

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?

Dragging and Dropping Subtask

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.

Add new column with select box

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

SVGElement.offsetParent is deprecated

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.

Dates of the mother activities with the dates of the children activities

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.

Root / Parent end date not following latest task date

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 ?

screenshot_9

Task Color Code/Highlighting

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

Moving table header

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:
ganttheader2
ganttheader

Can't understand dependencies and conditions when it happens, how we could fix it?

gimmeBack.jsp Not Included

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.

Increasing rendering speed

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 ;)

Error while loading saved resources in a task

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

Old documentation

The documentation link in the readme is from year 2012. Is the documentation still valid for the latest version

Task end date are not getting updated as per subtask

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

Calendar month shift

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
calendar_1
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:
calendar_2

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?

Task with blocked date when it does not depend on other

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.

Templates and createModalPopup

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 !

removeClass

I am getting the error in removeClass function of svgdom:
Uncaught TypeError: Cannot use 'in' operator to search for 'marginTop' in undefined

any ideas?

error in IE 11 getElementsByClassName

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?

Printing gantt-diagram

Hi again!:)
Now I'm interested in printing out diagram.. but it looks another way, not like people wanna see it on a paper:
printgantt1
printgantt2

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?

Need to add extra date columns

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

Focus lost on editor when task are minimised

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.

gantt focus issue

Jquery Conflicts

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

Make Date follow your millis (solution)

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,

KG

fixing the millis realtime time

jQuery browser was removed. jQuery.browser.msie in jquery.timer.js

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.

Minutes & Hours

Is there any plans to add a view that will enable the user to view tasks in hours and minutes instead of days.

Scroll position when scale Gantt diagram

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.

function to get the depended tasks id

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.

gantt

hanging application while updating dates(issue fixed) but zoom view i need to set at Quater level

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.
gantt 2

ganttPrint.css is missing

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 ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.