Hello
Do you know, how I can make this.
I have a Grid Edit with 10 field type select with lookup table.
The first field is good for lookup table for the select. I want the other 9 fields is the same data the first field, how I can define the same data from the first data.
Thank you.
Simply put the following code in “Row_Rendered” server event:
if ($this->isGridEdit()) {
$this->Field_1->CurrentValue = “something”; // adjust to your desired value
$this->Field_2->CurrentValue = $this->Field_1->CurrentValue;
$this->Field_3->CurrentValue = $this->Field_1->CurrentValue;
$this->Field_4->CurrentValue = $this->Field_1->CurrentValue;
// and so forth …
}