fnRowCallback jQuery UI Dialog
fnRowCallback jQuery UI Dialog
JanuszJasinski
Posts: 36Questions: 0Answers: 0
[code]"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
$('td:eq(3)', nRow).html('' + aData[3] + '');
}[/code]
The class "dialog" hooks into [code] $(document).ready(function () {
$(".dialog").click(function () {
$("#thedialog").attr('src', $(this).attr("href"));
$("#somediv").dialog({
width: 400,
height: 450,
modal: true,
close: function () {
$("#thedialog").attr('src', "about:blank");
}
});
return false;
});
});[/code] but it doesn't seem to work? I'm sure it's something to do with the fact the class gets applies AFTER the dialog options are set or am I wrong?
Either way, can someone please help!
thanks,
JJ
$('td:eq(3)', nRow).html('' + aData[3] + '');
}[/code]
The class "dialog" hooks into [code] $(document).ready(function () {
$(".dialog").click(function () {
$("#thedialog").attr('src', $(this).attr("href"));
$("#somediv").dialog({
width: 400,
height: 450,
modal: true,
close: function () {
$("#thedialog").attr('src', "about:blank");
}
});
return false;
});
});[/code] but it doesn't seem to work? I'm sure it's something to do with the fact the class gets applies AFTER the dialog options are set or am I wrong?
Either way, can someone please help!
thanks,
JJ
This discussion has been closed.