title: JToolBarHelper :: DeleteList - Does not work
body: <p>I created a <strong>Joomla 2.5</strong> custom component and load data to grid on administrator side. All data loaded and adding and editing work well. But deleting is not working. It gives following error.</p>
  
  <pre><code>Fatal error: Call to a member function delete() on a non-object in 
  C:\wamp\www\Joomla\libraries\joomla\application\component\controlleradmin.php on line 131
  </code></pre>
  
  <p>In view class I used <code>JToolBarHelper</code> for delete action as follows.</p>
  
  <pre><code>JToolBarHelper::deleteList('', 'regions.delete', 'JTOOLBAR_DELETE'); 
  </code></pre>