N°331 - L'ordre de tri des tickets change au rechargement auto - add ability to give to Menu how to refresh the panel

This commit is contained in:
acognet
2021-01-28 11:02:56 +01:00
parent 2eae1e81d1
commit ff44fcdfe0
3 changed files with 8 additions and 2 deletions

View File

@@ -158,4 +158,9 @@ class DataTable extends UIContentBlock
{
$this->aOptions = $aOptions;
}
public function GetJSRefresh():array{
return ["$('#".$this->sId."').DataTable().clearPipeline();
$('#".$this->sId."').DataTable().ajax.reload(null, false);"];
}
}