# \[Solved\] Weird behavior on the block table

**URL:** <https://forums.losant.com/t/solved-weird-behavior-on-the-block-table/760>\
**Category:** Bug Report\
**Created:** [January 29, 2018, 1:51pm UTC](https://forums.losant.com/t/solved-weird-behavior-on-the-block-table/760 "2018-01-29T13:51:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![francois\_Oudot](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@francois\_Oudot](https://forums.losant.com/u/francois_Oudot)\
**Post date:** [January 29, 2018, 1:51pm UTC](https://forums.losant.com/t/solved-weird-behavior-on-the-block-table/760/1 "2018-01-29T13:51:03Z")

</div>

Hi  
I have a weird behavior on the block table.  
I have a table with devices and their respective attributes and tags.  
For some reason when I add only one tag in the table - no problem I can see it fine.  
But when I add 2 tags, then the value of the latest added tag overtakes the value of the first tag.  
Is that normal?  
Thanks!

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [January 30, 2018, 7:26pm UTC](https://forums.losant.com/t/solved-weird-behavior-on-the-block-table/760/2 "2018-01-30T19:26:38Z")

</div>

I’m assuming you’re talking about the [device state table block](https://docs.losant.com/dashboards/device-state-table/) here? If so, the behavior I’m seeing is that the tags are _inclusive_, meaning any device that matches any of the selected tags is returning in the table.

So, for example, I have Device A with the tags `foo=abc` and `bar=123`, and I have Device B with the tags `foo=def` and `bar=`456`.

In my block config, if I set my tag query to be `foo=abc` and `bar=456`, that should return both devices in the table.

Is this not the behavior you’re seeing, or am I not understanding the issue correctly?

---

<div class="post-metadata">

**Author:** ![francois\_Oudot](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@francois\_Oudot](https://forums.losant.com/u/francois_Oudot)\
**Post date:** [January 31, 2018, 8:16am UTC](https://forums.losant.com/t/solved-weird-behavior-on-the-block-table/760/3 "2018-01-31T08:16:46Z")

</div>

Hey Dylan,  
It seems like my explanation was not clear.  
So indeed I am using the device state block.  
The issue is that I would like to have a couple of columns with the value of different tags in them. In your example it would be a column foo and a column bar. Unfortunately, it seems like it just load the tags once and you can only but one column with tags. See the screenshots below:  
1 tag-column - it works fine

 ![19%20AM](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/1X/f657d57643095cb69e4a6c377782ad9edc3c3c68.png)  
2 tag-column - it gives me one value for both columns  
 ![29%20AM](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/1X/1234e8be4a16ca9217c480b1b220d5a25031a4cd.png)  
Thanks for your feedback

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [January 31, 2018, 3:42pm UTC](https://forums.losant.com/t/solved-weird-behavior-on-the-block-table/760/4 "2018-01-31T15:42:14Z")

</div>

Thanks for the extra info. I see the issue you’re describing and am working on a fix now. I’ll keep you posted.

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [January 31, 2018, 6:38pm UTC](https://forums.losant.com/t/solved-weird-behavior-on-the-block-table/760/5 "2018-01-31T18:38:42Z")

</div>

I just deployed a fix for the issue you identified; refresh your browser and you should be able to use the tags columns as expected now.

Thanks for the bug report, and let us know if you run into any other issues!

---

<div class="post-metadata">

**Author:** ![francois\_Oudot](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@francois\_Oudot](https://forums.losant.com/u/francois_Oudot)\
**Post date:** [February 1, 2018, 4:37pm UTC](https://forums.losant.com/t/solved-weird-behavior-on-the-block-table/760/6 "2018-02-01T16:37:16Z")

</div>

It works great! Thanks Dylan.  
On the same topic, I was wondering how I could define the width of the columns of the table? I don’t see anything about it.  
Thanks!

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [February 1, 2018, 4:39pm UTC](https://forums.losant.com/t/solved-weird-behavior-on-the-block-table/760/7 "2018-02-01T16:39:17Z")

</div>

No way to adjust the column widths for now, but it’s on our roadmap to bring that functionality into the tables.
