After a long and overdue overhaul of the popular CF_Gantt custom tag, I am pleased to announce the Alpha version of JSGantt. I've enlisted another super coder and BTPOG we got through rewriting that awful piece of code.

JSGantt is now available for PHP, ASP/.NET, Java and almost anyone else for free.


  • This component is 100% Javascript and CSS
  • No images were used or harmed in the making of this tag
  • Completely buzzword compliant including AJAX !
  • This component is free
  • Beta expected in September
  • Bugs/Suggestions are welcome

JSGantt javascript component can be downloaded here.

CF_Gantt 3.0 ColdFusion wrapper can be downloaded here

Comments
robi's Gravatar Very cool Shlomy.
# Posted By robi | 8/24/08 11:48 AM
Jeff Gladnick's Gravatar This is very nice. I'd love to see it integrated into Ray Camden's lighthouse project. A few fields might have to be added but it would be a pretty neat addition.

Also, it might be nice that once items were 100% completed you could automatically change the background color/font color
# Posted By Jeff Gladnick | 8/24/08 9:32 PM
Michael White's Gravatar My boss is gonna be VERY happy once I can integrate this with our existing app!
# Posted By Michael White | 8/26/08 5:11 PM
trebor's Gravatar Not to be a total tool for my employer, but did you consider doing this in OpenLaszlo, which now compiles to a DHTML runtime as well as flash? Or was that not feasible in this case?

I still have it in my mind to someday take a crack at writing a JSP-tag version of this. Sometime before I die, perhaps.
# Posted By trebor | 8/27/08 10:28 AM
Shlomy Gantz's Gravatar @Jeff: Which fields would you add?

@Trebor: I did , but I am much more of a JS expert than a Laszlo one. Would be interesting to redo it in Laszlo and see the difference in size/performance.
# Posted By Shlomy Gantz | 8/27/08 10:52 AM
Jeff Gladnick's Gravatar Well you would need "percent completed" at least.

I was trying to see the gant chart again to regain my previous thoughts but its no longer displaying...
# Posted By Jeff Gladnick | 8/27/08 12:21 PM
Bob's Gravatar I am running this in CF8 and getting a java error:

Null Pointers are another name for undefined values.

The error occurred in E:\ColdFusion8\CustomTags\CF_Gantt30_v1c\CF_Gantt30\gantt.cfm: line 2262

2260 :    
2261 : <!--- Start on Saturday , End of saturday --->
2262 : <cfif dayofweek(attributes.StartDate) neq 7>
2263 : <cfset attributes.StartDate = dateadd("d","-#dayofweek(attributes.StartDate)#",attributes.StartDate)>
2264 : </cfif>

I have made sure the startdate is there and of the format mm/dd/yy any clue
would be appreciate
# Posted By Bob | 9/5/08 10:49 AM
Bob's Gravatar Code snip for the above:

<cf_gantt showAssignedTo="yes" showDuration="yes">
<cf_ganttgroup name="#qry_projects.proj_name#" assignedTo="#getempname(qry_projects.proj_assigned,'p')#">
<cfloop query="qry_projects">
<cfset begin_week=week(task_est_begin)>
<cfset end_week=week(task_est_end)>
begin:#dateformat(task_est_begin,'mm/dd/yy')# <br>
end:#dateformat(task_est_end,'mm/dd/yy')# <br>
<cf_ganttitem name="#task_title#" startdate="10/10/08" enddate="11/13/08" assignedTo="#getempname(task_assigned_to,'p')#">
</cfloop>
</cf_ganttgroup>
<cf_ganttgroup name="Project Review & Write-Off" assignedTo="John Test Dude">
</cf_ganttgroup>
</cf_gantt>
# Posted By Bob | 9/5/08 10:53 AM
Mladen's Gravatar Hi I have so strage error (crush) when i try to open asp or htm(demo) page on my Dreamweaver MX2004, when i use the latest version of jsgantt.js.
a soon i change back to the older everything is OK.
Please i need i help here..lol
regards,
Mladen K.
# Posted By Mladen | 2/20/09 11:11 PM
Carl's Gravatar Nice functionality, great work.
However, the code is old style HTML and has an abundance of style tags.
All the CSS should be kept in a separate CSS-file, for ease of maintanence.
Also, for internationalisation purposes, the text string should be separated
from the code.
# Posted By Carl | 5/18/09 4:05 AM
Mike's Gravatar "@Trebor: I did , but I am much more of a JS expert than a Laszlo one. Would be interesting to redo it in Laszlo and see the difference in size/performance."

...and the difference in flexibility. Try using Flex instead, much better than javascript. Strongly typed fully OO. You can integrate data straight from the DB, and reorder the columns without a hassle.

Ideally Gantt charts have to move and be readjusted on a user click and drag, something Flex does effortlessly.
# Posted By Mike | 12/8/09 9:42 PM
sanjeev singh's Gravatar that is very nice sample for gantt chart. but i want that fill data dynamically from dataset in asp.net App. how it can possible. Please help me
# Posted By sanjeev singh | 1/23/10 1:07 AM
leslie's Gravatar <a href="http://www.onlinetravelphilippines.com" rel="dofollow">online travel</a>
# Posted By leslie | 2/23/10 2:29 AM
Powered by BlogCFC

HostMySite.com Web Hosting Provided by www.HostMySite.com

Aggregated by fullasagoog.com
[Valid RSS]

Add to Google