Problem with checkboxes in rowtablearea2

Hello,

in the manual, it is described that you can set the status of a checkbox by statusprop. This works fine in nearly all cases.
But if I use the checkbox control inside rowtablearea2, the checkbox is always activated and editable - even if the value of statusprop is DISPLAY.

The code looks as following


<rowtablearea2 griddataprop="plantSpecList" rowcount="8"   
  vscroll="auto" width="100%">
	<tr>
		<gridcolheader textid="relevant" propref="checked"
			width="20%"/>
		<gridcolheader textid="name" propref="name"
			width="60%"/>
		<gridcolheader textid="reference" propref="reference"
			width="20%"/>
	</tr>
	<repeat>
		<tr>
			<checkbox valueprop="checked" width="20%"
				statusprop="plantSpecStatus"/>
			<textout valueprop="plant" width="60%"/>
			<checkbox valueprop="reference" width="20%"
				displayonly="true"/>
		</tr>
	</repeat>
</rowtablearea2>

The checkbox “checked” is always editable, the checkbox “reference” not (would be confusing if it would be editable :slight_smile: )

Perhaps, someone can help me to make the checkbox sometime readonly?

Thanks in advance.

…on which level is the implementation of “plantSpecStatu”? It must NOT be defined on adapter level but also on level of the item (same level as “checked”). I strongly assum that this is the error…

Bjoern

Thanks a lot. Now it works as described.
Actually, it’s logic… :idea:

Greetz,

H. Johannes