Accessing table header elements

Questions and answers for designing and implementing forms in Servoy

Accessing table header elements

Postby maria » Tue Feb 28, 2012 2:09 am

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
maria
 
Posts: 424
Joined: Thu Apr 16, 2009 1:18 am
Location: Sydney

Re: Accessing table header elements

Postby maria » Wed Feb 29, 2012 4:06 am

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
maria
 
Posts: 424
Joined: Thu Apr 16, 2009 1:18 am
Location: Sydney

Re: Accessing table header elements

Postby maria » Thu May 03, 2012 7:54 am

Hi guys,

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

Cheers,
Maria
maria
 
Posts: 424
Joined: Thu Apr 16, 2009 1:18 am
Location: Sydney


Return to Forms

Who is online

Users browsing this forum: No registered users and 7 guests