ParamQuery grid support forum
General Category => Suggest new features => Topic started by: jplevene on May 02, 2024, 12:55:27 am
-
In the colModel>render allow jQuery to be returned and not just a string for the content.
-
What's the use case and benefit of allowing return of jQuery.
-
I might want to return something like:
var that=this,
jq = $("<span>", {html"O"})
.click(function(e){ that.do_something(this); })
.data("dta", {"id":2, "name":"O"})
.add(
$("<span>", {html"X"})
.click(function(e){ that.do_something_else(this); })
.data("dta", {"id":2, "name":"O"})
);
return {jquery: jq};
I can't do above passing HTML.