I answered my own question and the answer is, yes there is a better way.
Load only the entries needed into the grid (65,000+ records with 9 entries per record). That cuts down loading time.
The remaining entries are needed only for editing. So it makes sense to pull only for those entries for just that selected record which is accomplished by using an AJAX call:
$.ajax({
type: "POST",
url: "get.asp",
data: "action=get&UID=" + UID,
error: function(jqXHR, textStatus, errorThrown)
{
alert ("err: " + errorThrown);
commit(false);
}
})
.done(function(data) {
var detaildata = JSON.parse(data);
var foo = "<div class='jqx-rc-all' style='margin: 10px;'><b>Bar</b> " + detaildata.foo1 + "</div>";
$(leftcolumn).append(foo);
});
In the ASP Classic controller (get.asp) program:
strIndex = Request.Form("UID")
intComp = StrComp(strAction, "get", vbTextCompare)
if (intComp = 0) then
sql = "SELECT Foo FROM FooBar WHERE UID = " & strIndex
Set rs = Conn.execute(sql)
response.write ("{" & chr(34) & "foo1" & chr(34) & ":" & chr(34) & rs(0) & chr(34) & "}")
response.flush()
response.end()
end if