<, <=, >, >=, =, *, !, {, }, ||,&&, [empty], [nonempty], rgx:";
tf.Mod.clearButton.html="";
tf.Mod.statusBar.msgFilter="Filtering data...",
tf.Mod.statusBar.msgSort="Sorting data...",
tf.Mod.statusBar.msgChangePage="Collecting paging data...",
tf.Mod.statusBar.msgChangeResults="Collecting paging data...",
tf.Mod.statusBar.msgClear="Clearing filters...",
tf.init();
document.querySelector("#container").style.display="flex";
function calcAll(tf, colOps, colIndex) {
}
var initpos_filters=[];
window.onload = function(){
var tableCont = document.querySelector("#div-table");
function scrollHandle (e){
var scrollTop = this.scrollTop;
this.querySelector("thead").style.transform = "translateY(" + scrollTop + "px)";
}
tableCont.addEventListener("scroll",scrollHandle);
var stored_val=get_drill_level("tabfilt_selval_3012_1848");
if(stored_val){
if(stored_val.level == 1){
var line=document.getElementById(stored_val.value);
if(line){
last_hlline_bg = line.style["background-color"];
line.style["background-color"]="#ff0000";
last_hlline = stored_val.value;
}
}else if(stored_val.level == 2){
for(var i=0; i";
function UpdateFSIcon(){
var titfs_href = document.getElementById("fshref_n4v");
document.addEventListener("fullscreenchange", function( event ) {
if ( !document.fullscreen ){
document.getElementById("n4v_fs_button").style.backgroundImage="url(https://demo-eu01.need4viz.com/v202420/N4VCustomElements/res/css/images/n4v_fullscreen.svg)";
titfs_href.title= "Fullscreen view";
}
else {
document.getElementById("n4v_fs_button").style.backgroundImage="url(https://demo-eu01.need4viz.com/v202420/N4VCustomElements/res/css/images/n4v_minscreen.svg)";
titfs_href.title= "Quit fullscreen";
}
});
}
$(".popUpFilter").resizable().draggable();
$( ".div_checklist" ).each(function() {
var id=this.id;
var col_name="";
var thpar=$(this).parent().parent().parent();
for(var i=0; i
"+col_name+"
Select View
" ).insertBefore( this );
$(this).parent().css("min-height","150px");
});
$( "select.flts_n4v" ).each(function() {
var id=this.id;
var col_name="";
var thpar=$(this).parent().parent().parent();
for(var i=0; i
"+col_name+"
" ).insertBefore( this );
if($(this).prop("multiple"))
$(this).parent().css("min-height","150px");
else
$(this).parent().css("min-height","50px");
});
$( "input.flts_n4v" ).each(function() {
var id=this.id;
var col_name="";
var thpar=$(this).parent().parent().parent();
for(var i=0; i
"+col_name+"
" ).insertBefore( this );
$( "").insertBefore( this );
$("#d"+id).prepend($(this));
$("").insertAfter(this);
$(this).parent().parent().css("min-height","62px");
});
document.addEventListener("fullscreenchange", function( event ) {
if ( !document.fullscreen ) {
$( ".popUpFilter" ).each(function() {
$(this).offset(initpos_filters[this.id]);
});
}
});