public function addJsPaginatorInContainer($ipp, $containerHeight, $options = [], $container = null, $scrollRegion = 'Body')
    {
        $this->table->hasCollapsingCssActionColumn = false;
        $options = array_merge($options, [
          'hasFixTableHeader'    => true,
          'tableContainerHeight' => $containerHeight,
        ]);
        //adding a state context to js scroll plugin.
        $options = array_merge(['stateContext' => '#'.$this->container->name], $options);

        return $this->addJsPaginator($ipp, $options, $container, $scrollRegion);
    }