Jump to content


Photo

Can I custom draw a Gantt Chart with NextGrid?


  • Please log in to reply
12 replies to this topic

#1 Edwin

Edwin
  • Members
  • 43 posts

Posted 16 May 2008 - 04:35 PM

HI,

The VCL community lacks a decent Gantt chart component, the best one with professional looking is from EzPlan-It but it's data source accepts only TDataSet which I don't want. So I am considering implement a Gantt chart with the custom draw support of next grid. Is NextGrid capable of doing this? Any tips of implement this? Thank you.

Edwin.

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,195 posts
  • Gender:Male

Posted 16 May 2008 - 05:53 PM

Hello Edwin,

If you like to implement gant chart inside cell this may be done with using OnCustomDrawCell event (http://dn.bergsoft.n...in-nextgrid.htm).

If you like I may help you with implementation, and maybe include column type with Gannt chart.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 Edwin

Edwin
  • Members
  • 43 posts

Posted 17 May 2008 - 05:37 AM

boki,

in fact i'v not yet get to the implementation stage, rather i am just want to get things be ready upfront. can the mouse events nextgrid exposed support implementing drag and drop? also the column headers must be able to be switched between week,month and year.

boki, i.d suggest you implement it base on nextgrid, not to difficult for you i think. i am sure will buy it, i can event preorder it if you can give the timeframe. may be you can have a survey for potential requirements in borland newsgroup.

edwin

#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,195 posts
  • Gender:Male

Posted 17 May 2008 - 10:32 AM

Hello,

I think that I have one small sample created with NextGrid. I will try to find it and give it to you to check it.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#5 Edwin

Edwin
  • Members
  • 43 posts

Posted 20 May 2008 - 09:16 AM

QUOTE (Boki (Berg) @ May 17 2008, 05:32 PM) <{POST_SNAPBACK}>
Hello,

I think that I have one small sample created with NextGrid. I will try to find it and give it to you to check it.

Best regards



Boki, I hope I can see the sample code soon, thank you!

#6 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,195 posts
  • Gender:Male

Posted 20 May 2008 - 12:01 PM

Hello,

I have send this sample to one user, but I will need a time to find it inside my Inbox.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#7 Edwin

Edwin
  • Members
  • 43 posts

Posted 20 May 2008 - 12:59 PM

Boki,

Thank you very much! Your support is good!

#8 Edwin

Edwin
  • Members
  • 43 posts

Posted 06 June 2008 - 12:23 PM

Hello Boki,

I have been waiting for your example for weeks, have you found it already? Many thanks

#9 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,195 posts
  • Gender:Male

Posted 07 June 2008 - 09:37 PM

Hello Edwin,

I didn't succeed to find it sad.gif I am sorry for giving false hope. But I will like to help you with your implementation.

You may do a much with custom sorting. For example cell may contain start time, length etc. of project but drawing to been made custom. I will send you small example tomorow.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#10 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,195 posts
  • Gender:Male

Posted 09 June 2008 - 03:06 PM

Hello Edwin,

I have made one small sample project for you to show you how chart may be custom drawn with small amount of code.

I hope that it helps a little bit, and that you may catch some idea smile.gif

Best regards

Attached Files


boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#11 Edwin

Edwin
  • Members
  • 43 posts

Posted 10 June 2008 - 06:39 AM

Boki,

Thanks, I'll have a look.

#12 sarkosyi

sarkosyi
  • Members
  • 5 posts

Posted 22 September 2014 - 05:12 AM

Hello Boki,

I could not download your attachment (Gant_Chart.zip). could you please fix this.
Best regards

#13 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,195 posts
  • Gender:Male

Posted 22 September 2014 - 09:48 PM

Hi,

This file is most probably lost during board upgrade. I am not sure why this happen :(

I will try to find it on server manually , but I am not sure that I will succeed.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users