You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
348 B
Smarty
13 lines
348 B
Smarty
function modify_table_visible(id, key) {
|
|
if(document.getElementById(id).checked)
|
|
{
|
|
table_1.columns( '.' + key ).visible( true );
|
|
localStorage.setItem(window.location.href + '-haschecked-' + id, true);
|
|
}
|
|
else
|
|
{
|
|
table_1.columns( '.' + key ).visible( false );
|
|
localStorage.setItem(window.location.href + '-haschecked-' + id, false);
|
|
}
|
|
}
|