Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

System Matrix Cell Read Only

Hi,

Is it possible to make just one cell of a row read only ?

also is it possible to change the color of that cell ?

Former Member
Former Member replied

For versions before 8.81:

To "set" it read only I think is not possible. But you can work around, by blocking all events on that particular cell - it's not a very pretty workaround but will do what you need; block got_focus, click etc and basically the cursor can never enter that particular cell - downside, there is no visual signal for the user to indicate that it is read only.

For changing colour; it depends. If you mean the background or text colour, then unfortunately no. You can do another workaround where you add a picture column and change the picture file being used in that cell depending on the status you desire - obviously this is not what you are looking for, but I'm afraid it's the best I can suggest.

-


From 8.81 on you can:

Cells Configuration: In matrix and grid objects, you can now:

Set colors and fonts for rows, columns, and cells

Disable or enable cells

Set and get the focus of a specific cell (GetCellFocus and GetCellFocus methods of the Grid and Matrix objects)

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question