Confirm For Update In Gridview?

hi my friends

how defind 1 confirm ingridview for update button??

thanks

I think that would be something like:




array(

  'class'=>'CButtonColumn',

  'buttons'=>array(

     'update'=>array(

        'url'=>...,

        'click'=>'function () {

	   if (confirm("...") != true)

             return false;

        }',

     )

  )

)