Hi ,
Following code will enable the editing facility .
IF grid1->is_ready_for_input( ) eq 0.
* set edit enabled cells ready for input
CALL METHOD grid1->set_ready_for_input
EXPORTING i_ready_for_input = 1.
Yes you can control the tool bar using conditions , put the above code inside condition and you should be good .
Thanks
Manik