Manu, your good, Thanks man. Issue resolved.
Solution,
Java.
public JSONObject getOptions() {
JSONObject json = new JSONObject();
json.put("bJQueryUI", "true");
json.put("bStateSave", true);
json.put("sDom", "R<C>H<\"clear\"><\"ui-toolbar ui-widget-header
ui-corner-tl ui-corner-tr ui-helper-clearfix\"lfr>t<\"ui-toolbar
ui-widget-header ui-corner-bl ui-corner-br ui-helper-clearfix\"ip>");
json.put("bAutoWidth", true);
json.put("fnRowCallback", new
JSONLiteral(String.format("fnRowCallback()")));
return json;
}
Script
function fnRowCallback(){
var fnRowCallback = function( nRow, aData, iDisplayIndex,
iDisplayIndexFull ) {
if (aData["rush"] == "Rush" ) {
nRow.className = nRow.className + " gradeX";
}
};
return fnRowCallback;
}
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-Jquery-Datatable-Configuration-tp5719753p5719776.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]