CodeIgniter Forums
flexigrid with add buttun need help - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: flexigrid with add buttun need help (/thread-29551.html)



flexigrid with add buttun need help - El Forum - 04-13-2010

[eluser]a7med.she7ata[/eluser]
hi all
you know flexigrid as a powerful crud tool

i want to make adding button work in it
how can i handel the action of the button to adding function in the controller

i used this code to show buttons

Code:
$buttons[] = array('Add New','add','test');
        $buttons[] = array('Delete','delete','test');
        $buttons[] = array('separator');
        $buttons[] = array('Select All','add','test');
        $buttons[] = array('DeSelect All','delete','test');
        $buttons[] = array('separator');

plz help me