editing scrollXInner Value
editing scrollXInner Value
srinath
Posts: 3Questions: 0Answers: 0
Hi,
Is there any way that i'll be able edit the scrollXinner value and set it to a new value when a function is executed
Is there any way that i'll be able edit the scrollXinner value and set it to a new value when a function is executed
This discussion has been closed.
Replies
$.fn.dataTableExt.oApi.UpdateScrolX = function (oSettings, width)
{
//var oSettings = _fnSettingsFromNode(this[_oExt.iApiIndex]);
if(width != "")
{
oSettings.oScroll.sXInner= width;
}
this.fnDraw();
}
annd call it using
var oTable = $('#dataTabel').dataTable();
oTable.UpdateScrolX("100%");
Allan