0

I have an App from a former Programmer. This guy was using dojo, djox and dGrid.

As I only have the task to write a simple export from the dojo or dGrid I am searching for an easy way to access the dGrid's Store. As far as I understand the store holds all the information how the Grid is ordered in a particulary moment.

Search for something like dGridStore.retrieveAll.

Another cool solution for this problem might be finding a physical json of the current state.

1 Answer 1

1

if you can access the store you can simply do the following.

  var gridList= store.query();
   console.log(JSON.stringify(gridList));   

if you can show me more code i can help you more.

11
  • thanks. its confidental sorry...where should I run this code that it works?
    – theode
    Jan 30, 2015 at 13:56
  • no problem, I don't want to see everything I just wanted to help you with how to get the store from the grid. did that help you or you need more info ??
    – dori naji
    Jan 30, 2015 at 13:59
  • its to big and contains thousand of files. so where is the store usally initiated?
    – theode
    Jan 30, 2015 at 14:02
  • If it was me I would do it exactly before Creating and populating the grid like the example in this JS jsfiddle.net/MG9jB/168
    – dori naji
    Jan 30, 2015 at 14:07
  • ok I think got the right position but it hangs on .then ? why?
    – theode
    Jan 30, 2015 at 15:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.