Hi Isomorphic,
this seems pretty easy and is most likely a widely used feature, but how do I show data from a fetch in a ListGridField hover (using latest 5.1p)?
I have data that I don't want to gather with the normal ListGrid fetch (1:n data, expansive join), but only on hover.
This does not work:
Thank you & Best regards
Blama
this seems pretty easy and is most likely a widely used feature, but how do I show data from a fetch in a ListGridField hover (using latest 5.1p)?
I have data that I don't want to gather with the normal ListGrid fetch (1:n data, expansive join), but only on hover.
This does not work:
Code:
setHoverCustomizer(new HoverCustomizer() { @Override public String hoverHTML(Object value, ListGridRecord record, int rowNum, int colNum) { myDS.fetchData(new Criteria("somefield", value.toString()), new DSCallback() { @Override public void execute(DSResponse dsResponse, Object data, DSRequest dsRequest) { return "something I got from the DSResponse"; /[B]/Void methods cannot return a value[/B] } }); } });
Blama
Comment