Hi,
Loving the controls.
I have one small problem which is eluding me. I am trying to incorporate the grid control in my php project. I am using an MVC pattern which means I cannot create the necessary JSON or XML in memory structures until the page is rendering past the tag. I hope this makes sense?
In other words, following the examples, where I create a simple XML file called âstep3.xmlâ it only loads the XML if I do it in the init function I create inside the header tags.
I have tried calling the loadXML method from a script tag within the main body, but it doesnât work. Weirdly if I create a button, and assign onclick to âmygrid.loadXML(âstep3.xmlâ);â then it works just fine. However I canât expect the end user to wait for the page to load, and then click a button to load the data.
So in summary, I am using MVC, so my block is inside a standard template so I cannot put grid specific code in there, can I do this from within the tag?
Apologies if already posted, I did search the forum first and couldnât find anything specifically relating to this problem.
TIA