XPages - In view select respose document

Hi Everyone,

I have created one Xpage and added view in it. Now that view has response documents.

I have added the checkbox in the view column and view header using the “View Column->Column Display Properties->check box” and the same property I has set fo view column header.

when I select the column header, all the documents in the view column selected(main document + Response document)

Now what I want , If select only one main document then all the corresponding response document should be selected.

Please assist!!

Thanks

-Suchita