Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9146

Re: Is it possible to make some cells in a row read only in a grid/table

$
0
0

First:

This is very well possible.

 

However, binding the column's read-only property (as suggested here so far) will not provide the expected result:

 

Then the whole column will be displayed as read only or editable depending on the row selected, so this is not what one likes to have.

While this is working (as soon as you try to "edit" a cell which is supposed to be read only, the whole column will change to readonly).

 

So here is how it is done:

 

1. Create an indicator as suggested by Uwe Mehring in the row item.

 

2. Set the Column's DisplayType Property to "CompoundField"

2014-11-06 09-12-58_PreventiveMeasure_OIF (https___my320079.sapbydesign.png

3. Click on the three dots (...) button of the DisplayType Property

2014-11-06 09-13-50_PreventiveMeasure_OIF (https___my320079.sapbydesign.png

The Fields Collection Editor Dialog will open.

4. On the left side, delete all but one entry

5. Select this entry

6. On the right side, set all properties as required (Display Type, Binding etc.)

7. Don't forget the "ReadOnly" Binding.

2014-11-06 09-17-12_Fields Collection Editor.png

 

Voila: Readonly on a per cell base

 

Best regards,

 

Ludger


Viewing all articles
Browse latest Browse all 9146

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>