Re: [Jprogramming] Passing arbitrary data from JavaScript back to JHS

2012-12-03 Thread Eric Iverson
The short answer is yes, the jdoajax can send any data it wants. The details depend a bit on whether you are trying to do this on the jijx page, or on a new custom grid page. In the page form define a hidden textarea. Then put your JSON serialized data in the textarea and jdoajax with that text a

Re: [Jprogramming] Passing arbitrary data from JavaScript back to JHS

2012-12-03 Thread John Baker
I am using JSON to pass the grid data from JHS to Javascript. The verb griddatfrtd reads TAB delimited CSV style text and builds a JSON string for DHTMLX. What I am wondering is how to do the reverse. I can build the JSON on the JavaScript side but how do you post this back to JHS. jdoajax pulls

Re: [Jprogramming] Passing arbitrary data from JavaScript back to JHS

2012-12-03 Thread Eric Iverson
You probably want to look at JSON. This is a serialization of any JS object. Javascript has built in methods to serialize an object and to create an object. The encoding is pretty straight forward and it is easy to write equivalents in J. Note that for data there is direct correspondence between a