 scrollCollapse: true,
          scrollX: true,
          scrollY: scrollY,
          select: {
            style: 'multi',
            selector: 'td:first-child',
            blurable: true,
            headerCheckbox: 'select-page',
          },
          stateDuration: 0,
          stateSave: true,
        });
      }
      else {
        $('#imagesDataTable').DataTable().ajax.reload(null, false);
      }

      imagesDataTable.on('select deselect', function () {
        var selectedRows = imagesDataTabl