I have a gridx/Grid (This is advanced and lighter that dojo DataGrid and Enhanced Grid). I use two layouts for this. One for enabled state and the other for disabled state. Based upon the conditions, respective layout will be used, when the page loads.
The checkbox for every row(the one added on left mist used for row selection), is not part of layout. They are added dynamically by the widget code, based on the number of rows in data returned by the ajax call.
So, we need to disable it manually. But, how do we do that?