  if (selectedTableRecordsPositions.includes(position)) {
            removeByItem(selectedTableRecordsPositions, position);
            setTableLineSelected(tableLine, false);
        } else {
            setTableLineSelected(tableLine, true);
            selectedTableRecordsPositions.push(position);
        }

        updateControlPanelState();
        onPageResize();
    }

    function onDeleteTableRecordClick() {
        let keysJson = "[";
        for (let i = 0; i < selectedTableRecordsPositions.leng