# UStruct::FTableRowBase is Grayed Out in Blueprint

**URL:** <https://forums.unrealengine.com/t/ustruct-ftablerowbase-is-grayed-out-in-blueprint/419063>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, CPP, question, structs\
**Created:** [March 6, 2018, 12:53am UTC](https://forums.unrealengine.com/t/ustruct-ftablerowbase-is-grayed-out-in-blueprint/419063 "2018-03-06T00:53:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_06725ff11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_06725ff11](https://forums.unrealengine.com/u/anonymous_user_06725ff11)\
**Post date:** [March 6, 2018, 12:53am UTC](https://forums.unrealengine.com/t/ustruct-ftablerowbase-is-grayed-out-in-blueprint/419063/1 "2018-03-06T00:53:18Z")

</div>

Been bashing my head against the wall for awhile now, hoping somebody will be able to help me here. I have a struct named **FWeaponData** that extends **FTableRowBase** :

```
   USTRUCT(BlueprintType)
    struct GENERIC_API FWeaponData : public FTableRowBase
    {
    	GENERATED_USTRUCT_BODY()
    public:
    	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "VISUALS")
    	FString Name;
    };

```

I made a unique asset with a factory named **UWeaponDataInstance** :

```
UCLASS(BlueprintType)
class GENERIC_API UWeaponDataInstance : public UObject
{
	GENERATED_BODY()
	
public:
	// Sets default values for this character's properties
	UWeaponDataInstance(const FObjectInitializer& ObjectInitializer = FObjectInitializer::Get());

	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "DATA")
	FWeaponData WeaponData;
};

```

my problem is that whenever I made a blueprint version of “ **UWeaponDataInstance** ” the “ **FWeaponData** ” is all grayed out. I’m unable to modify anything in the struct. If I add a property to **UWeaponDataInstance** I can modify it just fine. Hope that makes sense.

thanks for reading!

---

<div class="post-metadata">

**Author:** ![Mahoukyou](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mahoukyou](https://forums.unrealengine.com/u/Mahoukyou)\
**Post date:** [March 6, 2018, 1:31am UTC](https://forums.unrealengine.com/t/ustruct-ftablerowbase-is-grayed-out-in-blueprint/419063/2 "2018-03-06T01:31:53Z")

</div>

If you want to change the default value of a variable you have to change the VisibleAnywhere to EditDefaultsOnly or something different depending on your needs. The BlueprintReadWrite means that you can edit and read the variable during runtime in the event graph. UPROPERTY documentation can be found [here][1]. The two screenshots below show the difference.

![232866-default.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/3/8/a38a28204d35f3ca3ee2ff05a06b5f94910c1086.png)

![232867-runtime.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/f/9/ef99e0a7c8928debd734b78fae1abdbcc2d52711.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_06725ff11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_06725ff11](https://forums.unrealengine.com/u/anonymous_user_06725ff11)\
**Post date:** [March 6, 2018, 1:48am UTC](https://forums.unrealengine.com/t/ustruct-ftablerowbase-is-grayed-out-in-blueprint/419063/3 "2018-03-06T01:48:33Z")

</div>

Thanks for being so fast Mahoukyou!

I tried what you said, still didn’t work with the EditDefaultsOnly. It does work with EditAnywhere. Not quite sure the state that I’m in that is different then you. The most important thing is that it works!

thanks so much!
