Giter VIP home page Giter VIP logo

Comments (8)

robicch avatar robicch commented on August 29, 2024

yes, post your question here.

from jquerygantt.

layinka avatar layinka commented on August 29, 2024

I am having the exact same problem, i cannot get it to run, for example i am trying to use it in asp.net mvc project, but i found out that so many things are interrelated that its difficult to decouple it and assemble it back
can you provide a tutorial stating what files should be added, in what order they should be added and how to initialise the gantt cchart ?
Also, there is a lot of conflicts if i use another jquery version.

i have copied the code as is(from the example) into my masterpage in asp.net mvc just to see it work,but its still not working, i have this error "Uncaught TypeError: Cannot use 'in' operator to search for 'marginTop' in undefined".

It will be good if there is basic straight forward tutorial that shows using it outside the example, as this looks like the best gantt tool out there

from jquerygantt.

robicch avatar robicch commented on August 29, 2024

Hi Layinka

  1. This component is JS based and it is (it could be) stand alone. You do not need any server to run, just a standard web page.
  2. there is nothing to "decouple". Include the .js files as in the gantt.html. There are only two possible interaction with the server: when your read the data and when you save it. In both cases you have to manage a single json object.
  3. this release uses an old jQuery (1.8) version. A new release for version 2 is ready and will be released asap.
  4. If the gantt.html page works, your .net page have to work too.

This is a js component. There is no server interaction supplied, there are too many languages to care :-)
Everyone have to develop its server side part.

from jquerygantt.

layinka avatar layinka commented on August 29, 2024

Hi, i understand that this is javascript based, what i am saying is every server side language/framework has ways they implement their own stuff,(including folder structure and all)
I have included the javascript files exactly as is on my page but yet its not working, first it had some issues with jquery version. i noticed that and changed to 1.8.
But i noticed it has some issues with path to the res folder, which i had to go and change because i am not using your exact directory structure, but i only saw that after having to go through all the javascript files.
i am just saying there might be a simpler tutorial.
I have still not gotten it to work and it doesnt show any error any longer on the chrome debugger so i dont even know why its not working.
I will still go through again and if i get it to work i will let you know.

Thanks for the great work and i hope i figure it out or the jquery 2 version comes out soon enough.

from jquerygantt.

robicch avatar robicch commented on August 29, 2024

If you solve the issues with your framework you could contribute writing the tutorial for .net.
The community will thank you ;-)

from jquerygantt.

layinka avatar layinka commented on August 29, 2024

Please if you dont mind, please help me check my generated file in this rar file http://1drv.ms/17SDFw2. (ProjectWorkSpace.html).

from jquerygantt.

robicch avatar robicch commented on August 29, 2024

In your file templates are broken.

eg

Cheers,

from jquerygantt.

layinka avatar layinka commented on August 29, 2024

Ok, Thanks.
That fixed it.

from jquerygantt.

Related Issues (20)

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.