Quick Javascript project
- or -
Post a project like this- Posted:
- Proposals: 7
- Remote
- #1956067
- Completed
Description
The sample is at this url: https://www.beepxcoin.com/treetest.html
You can inspect the sources for all additional code.
Currently it pulls data from a static json file, and all data is included. However, i need to use this on an infrastructure that contains large data and building that json file dynamically every time would consume too many resources.
What i need done, is load the first level of the json data (first children) and on click-to-expand, perform an ajax request to bring the next data, and so forth.
there will always be data returned (Even "name":"empty"), however, i need an indicator that defines the end of the line and the point should not be clickable to expand further.
P.S. Successful candidate will get priority for many more tasks to follow!
Angelos H.
100% (2)New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Hello Sir,
Have you considered anyone?
I am interested in this job. I can do this job as per your requirement perfectly.
I am expert in web and JavaScript based software development.
I have done JavaScript based projects. All server side activity and events done by JavaScript on client side without page refresh.
Thank You!! -
Hi Angelos,
Do you have your API available to show me? With you needing to know the end of the tree structures, there'll need to be an element in the return call that tells me if it's the end of the line, so I can display that visually. I guess that would be fine too?
Thanks,
ChrisAngelos H.29 Mar 2018The api is currently being build.
If it makes sense, a suggestion would be a variable in the json response "childencount":"5"
So if that children count is 0, that is the end of the line.
StreamSoft Development Ltd29 Mar 2018Thank you for your response, the childrencount variable would be great there as it can obviously identify if it's the end of the the line (if the count is zero).
Do you have a time estimate on when the API would be built? This definitely looks like a job I can complete for you once I have that and can see the structure of data.