[SOLVED]How to set data length after filtering?
[SOLVED]How to set data length after filtering?
[Deleted User]
Posts: 0Questions: 5Answers: 0
I use the filtering-delay-function while fnInitComplete, like
[code]...'fnInitComplete': function(){
oTable.fnSetFilteringDelay(1500);
}.... [/code]
Is it possible to set data length to All(-1) after filtering is done?
Sure:
[code]
..'fnInitComplete': function(){
oTable.fnSetFilteringDelay(1500);
var oSettings = oTable.fnSettings();
oSettings._iDisplayLength = -1;
oTable.fnDraw();
}
[/code]
[code]...'fnInitComplete': function(){
oTable.fnSetFilteringDelay(1500);
}.... [/code]
Is it possible to set data length to All(-1) after filtering is done?
Sure:
[code]
..'fnInitComplete': function(){
oTable.fnSetFilteringDelay(1500);
var oSettings = oTable.fnSettings();
oSettings._iDisplayLength = -1;
oTable.fnDraw();
}
[/code]
This discussion has been closed.