protected function Form_PreRender() { $this->dtgItem->DataSource = Item::LoadArrayByShipmentId($this->objShipment->ShipmentId); }