On selection of one row disable the other rows in grid based on the status

Hello Everyone,

I am working on a!gridField and need to select the rows which are of same status and other rows should be disabled(Non selectable).

For Example : If I select any row with status :"Inprogress" then only inprogress rows should be selectable where other rows should be in disbaled.Later similarly if I select a row with Draft status then only draft status records should be selectable and other should be disabled.

Please help me if anyone have worked this kind of requirement.

Thanks in advance.

  Discussion posts and replies are publicly visible