tags:

views:

517

answers:

3

Hi

I am using checkboxselectionmodel in ExtJS grid?

when i clicked on the row the row get selected and the respective checkbox also checked ..

But i need the checkbox to be checked only when i click the checkbox otherwise i want row only get selected ...

Please help me out...

Thanks & Regards,

Ramanavel Selvaraju

+1  A: 

The CheckboxSelectionModel links row selection and checkbox selection. You want row selection to be independent from the checkbox - so use RowSelectionModel and add a Checkbox into the first column of your grid.

Jonathan Julian
A: 

In your CheckboxSelectionModel set checkOnly config option to true.

sdavids
A: 

Can you please tell me, how can we do that? (Request you to please give me any example)

Atul