Styles applied to a row in a grid

Let's say that I have a grid control displaying rows of data from a business object.  Further, I want some of the rows to be editable, and some not.  For a row that I don't want to be editable, is there a way to highlight it based on the contents in one of its fields?  The highlighting would indicate that the row cannot be edited.

Tagged:

Comments

  • with standard editable grid such thing is impossible. It could be possible I think to disable some rows on form load via javascript client side code. But I have never try it.


  • SyF wrote:

    Let's say that I have a grid control displaying rows of data from a business object.  Further, I want some of the rows to be editable, and some not.  For a row that I don't want to be editable, is there a way to highlight it based on the contents in one of its fields?  The highlighting would indicate that the row cannot be edited.


    This was clearly shown in previous versions IIRC. The read-only columns were greyed out, a bit like other fields. I agree it would be nice, as it reduces user confusion.

     

     

  • I hadn't realized "read only" columns were not shaded differently than they were previously.  I'll have to check on that.  If they are not shaded, I agree that it would be nice ... and my users may "want it back" once they see it like that.  (I'll have to check it out.)