I have a combogrid that I'm trying to load with some simple data that I already have. I don't want to do another round trip to the server just to load the same content.
Here is an example of data:
var testdata = [
{"Name":"ActiveEndDate","MDNameOfDate":"ActiveEndDate","Duration":"0Y 0M 1D","Direction":"From","LocationName":"Vault"},
{"Name":"RetentionEndDate","MDNameOfDate":"RetentionEndDate","Duration":"0Y 0M 2D","Direction":"To","LocationName":"Destroyed"}
];
I've tried several methods including just changing the "data" value and refreshing it but I can't seem to get any of this loaded into the combo grid.
Something else that I've noticed is that if, as a test, I create the combogrid and set the data : entry to the text above, it will load. If I set it to data: testdata, nothing is loaded.
I either get nothing (my favorite error message), typedef exception saying rows is undefined, or Uncaught TypeError: $.fn.validatebox.methods[_5a9] is not a function.
While I can certainly setup a url on the server to regenerate this data, that seems a bit of a waste.
Can someone show me how to load this combogrid correctly? I'm clearly missing something.
Thanks!
Bruce