Title: Unable to load combogrid with locally computed data. Post by: brucet622 on May 24, 2024, 11:20:11 PM 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: Code: var testdata = [ 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 |