# Accessing table header elements

**URL:** <https://forum.servoy.com/t/accessing-table-header-elements/15587>\
**Category:** Classic Servoy\
**Created:** [February 28, 2012, 12:09am UTC](https://forum.servoy.com/t/accessing-table-header-elements/15587 "2012-02-28T00:09:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maria](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@maria](https://forum.servoy.com/u/maria)\
**Post date:** [February 28, 2012, 12:09am UTC](https://forum.servoy.com/t/accessing-table-header-elements/15587/1 "2012-02-28T00:09:30Z")

</div>

Hi All,

I have a table view form without the header part (so the header is build by Servoy automatically) and I cannot access my labels through forms.myform.elements.mylabel after it’s loaded.  
The label has its ‘labelFor’ property filled, so it acts like a column header.  
Other labels whose ‘labelFor’ property is empty are accessible.  
Is this something that Servoy can/will fix any time soon or should I look for a workaround?

I need to disable/enable those labels because they serve as buttons to add records to grid views.

Cheers,  
Maria

---

<div class="post-metadata">

**Author:** ![maria](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@maria](https://forum.servoy.com/u/maria)\
**Post date:** [February 29, 2012, 2:06am UTC](https://forum.servoy.com/t/accessing-table-header-elements/15587/2 "2012-02-29T02:06:08Z")

</div>

Also, it looks like I cannot apply visible/accessible security to labels that go in the automatic header… Or am I doing it wrong?  
(security is applied through security.setSecuritySettings(dataset) - works for normal form elements)

Cheers,  
Maria

---

<div class="post-metadata">

**Author:** ![maria](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@maria](https://forum.servoy.com/u/maria)\
**Post date:** [May 3, 2012, 5:54am UTC](https://forum.servoy.com/t/accessing-table-header-elements/15587/3 "2012-05-03T05:54:01Z")

</div>

Hi guys,

Could anyone give an opinion on the above please?  
Particularly interested in the security aspect of the question.  
Thank you!

Cheers,  
Maria
