How to check if a datagrid is disabled

I have to check that the all the rows in a grid should be disabled.
Can anyone please let me know the way we can implement it?

Give some more details
(a) Web or desktop
(b) It is not clear whether you want to check OR you want to disable ?

Its a web application.
I want to check that all fields of a table can not be clicked.This means all fields should be disabled and should look like a label which can’t be changed by the user.

did you try GetAttribute activity and property set to aastate?