How to apply pager in a table using theme function? I am rendering and displaying data using theme table. I'm using 

   $form['pager'] = array('#theme' =&gt; 'pager');


for displaying pagination. Now my intention is to display pager in two areas of screen. One is above the theme table and another one is below. I placed this code two times but pager is coming only once. 

Can anyone please help me?
Added  the below lines in above and below theme table script.

     $form['pagerTop'] = array('#theme' =&gt; 'pager'); and 
     $form['pagerBottom'] = array('#theme' =&gt; 'pager');