# Widget recognize Enum but don't desplay the Name nor the Content of de Data Table

**URL:** <https://forums.unrealengine.com/t/widget-recognize-enum-but-dont-desplay-the-name-nor-the-content-of-de-data-table/1388031>\
**Category:** Blueprint\
**Tags:** enumeration, ENUM, unreal-engine, Widget, Blueprint, question\
**Created:** [November 13, 2023, 7:39pm UTC](https://forums.unrealengine.com/t/widget-recognize-enum-but-dont-desplay-the-name-nor-the-content-of-de-data-table/1388031 "2023-11-13T19:39:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DarkHeavySoul](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DarkHeavySoul](https://forums.unrealengine.com/u/DarkHeavySoul)\
**Post date:** [November 13, 2023, 7:39pm UTC](https://forums.unrealengine.com/t/widget-recognize-enum-but-dont-desplay-the-name-nor-the-content-of-de-data-table/1388031/1 "2023-11-13T19:39:06Z")

</div>

Hi!  
I’ve bought CCGtoolkit but wanted to learn from it, since I wanted to create a card game that function pretty differently from what CCGtoolkit comes with.

I unfortunately hit a wall when creating a DeckBuilder Widget, the button that would showcase the card’s expansion name and its content is not working as it shoud and I can’t figure out why.

 ![a602c6bf6972d97e86cadff8c432c7e8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/6/1/b616f85c13da4d81c2431f4fd2eccf32ad9463d2.png)  
As you can see the print string is printing the card set values but it will always print 0,1,2,3 instead of the names of the Enum  
 ![e8ee3fd3957961e88be50cddda45a6a2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/b/9/6b9832a1d9d8a1958bbe830fc5a986dc066d6023.png)

Basically what is happening is that the Enum is being recognized by the deckbuilder and the button, that explains why when I press the buttons they showcase the correct name of the Enum row.  
 ![d119db06ff17e5b40d88f956a6b7e987](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/5/e/65ea20e446251e3a927cb26fd28db23bab333499.png)  
 ![ce6de523bac47646996f68b00937c519](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/d/1/7d192efc8b048ba9e543c121b93e6a84646054ed.png)

![c85fdc4c149e9d4764d477df312d0428](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/a/e/2aef650c591f5a26aa265e0be2176b518b65baef.png)  
This are the values get when the individual buttons (1,2,3) from the deck builder are being pressed.

 ![8abbd6566177de990cd55547c6342ee3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/b/2/7b2a007754904522ec93452ef28f31b0b46838a6.png)  
This is how i get that Value.

The actual Widget instead showcase the corresponding numbers of the Enum Rows instead of the names, as you can see in the picture.

![3bbbea2ebbea86e0ede2be59f58e3d2a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/9/c/49c716a6498a5b64c2bb7c0c1b1e62402b0c8269.png)

If I change the Set value for the index in the “Select” Blueprint it actually change in the correct position of the number of the Enum Row and show the “All” True Value.

 ![576570efb7ae1539c32124986a4b35ee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/b/c5bf0e68513739e6c25a50b7ce1e646fe60ef8c8.png)  
 ![10379901b20d42db242509eab5441544](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/6/2/e6214f613edf4efedce1a009dd2433567d97fd39.png)  
Not the “All” true value is set on the second Button corresponding to BT-1

I think this issue is causing also the cards and their data to not show correctly in the deck builder.

I think it is really easy to fix but I can’t figure it out apparently, that’s why i’m asking for help.  
Thank you for reading.

---

<div class="post-metadata">

**Author:** ![DarkHeavySoul](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DarkHeavySoul](https://forums.unrealengine.com/u/DarkHeavySoul)\
**Post date:** [November 13, 2023, 7:54pm UTC](https://forums.unrealengine.com/t/widget-recognize-enum-but-dont-desplay-the-name-nor-the-content-of-de-data-table/1388031/2 "2023-11-13T19:54:09Z")

</div>

I just solved it! Apparently the initiate Card Set Button was ok but the variable created of it was apparently empty. So i simply created a new Set form the same node, I did not create a new variable, I simply made a new set, and it worked.

Still don’t know why wasn’t working previously.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [December 13, 2023, 7:54pm UTC](https://forums.unrealengine.com/t/widget-recognize-enum-but-dont-desplay-the-name-nor-the-content-of-de-data-table/1388031/3 "2023-12-13T19:54:57Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
