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: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to