I have a web service (RestDataSource or straight HTML) that will return the formatted HTML for a record in a listGrid. When I hover over a row/cell I'd like the formatted HTML to be requested from the server, then displayed in the hover canvas. The reason for this is that there is some relational data I would like to display in the hover that is not in the Datasource of the grid and also, the server will check if the image file actually exists for the item and output an img tag accordingly. So the hoverHTML will be different sizes.
How do I grab the hoverHTML from a service? How do I return the HTML in a asynchronous manner? Does this look even close?:
How do I grab the hoverHTML from a service? How do I return the HTML in a asynchronous manner? Does this look even close?:
Code:
hoverHTML: "return ThisListGridId.GetHoverHTML(record.AssetID)", GetHoverHTML: function(assetid){ isc.RPCManager.sendRequest({ actionURL: "/admin/service/AssetDetails.ashx", httpMethod: 'POST', params: {method: "fetch_assetDetails", assetid: assetid}, callback: dunno } ); }
Comment