How to show CGridView with conditional

I’d like create model use cGridView with the conditional data that will appear are all data that have somecode and with checbox I could choose more than one data to be entered into the database.

my question is how do I display cGridView with a condition?

how to remove the update, delete on cgridview and add a check box?

how to capture the id of the data I tick and I insert it into another model?

Below thread may help you

http://www.yiiframework.com/forum/index.php?/topic/24285-mass-action-yii-checkbox-cgridview/page__p__117814__fromsearch__1#entry117814

thx 4 ur response aruna :D how could appear data base on their company code(not all data just some data)