Page 1 of 1

Servoy 6.1 web table forms

PostPosted: Wed Jul 25, 2012 7:38 pm
by djlapin
I heard (and read on the wiki) that the list forms on the web are now "true" scrolling list forms. However, they look the same to me. What has changed? Is there some setting that needs to be revised?

Thank you,
Don

Re: Servoy 6.1 web table forms

PostPosted: Wed Jul 25, 2012 8:23 pm
by patrick
You need to enable this by calling

application.setUIProperty(APP_UI_PROPERTY.TABLEVIEW_WC_DEFAULT_SCROLLABLE, true)

Re: Servoy 6.1 web table forms

PostPosted: Thu Jul 26, 2012 12:34 am
by djlapin
Thank you Patrick!

Don

Re: Servoy 6.1 web table forms

PostPosted: Sun Aug 05, 2012 4:50 pm
by itgenetics
Can I ask a really dumb question please? Where do I put this? A start up script or on every form? Thanks

Re: Servoy 6.1 web table forms

PostPosted: Sun Aug 05, 2012 5:58 pm
by logicimpresa
Put the command in "onSolutionOpen" method of your solution.

Gianluca

Re: Servoy 6.1 web table forms

PostPosted: Sun Aug 05, 2012 6:16 pm
by grahamg
application.setUIProperty(APP_UI_PROPERTY.TABLEVIEW_WC_DEFAULT_SCROLLABLE, true); has been deprected so best to use:

application.putClientProperty(APP_UI_PROPERTY.TABLEVIEW_WC_DEFAULT_SCROLLABLE, true);

Re: Servoy 6.1 web table forms

PostPosted: Sun Aug 05, 2012 6:54 pm
by itgenetics
OK - I am getting The property TABLEVIEW_WC_DEFAULT_SCROLLABLE is undefined in APP_UI_PROPERTY
The method puClientProperty() is undefined for the type JSApplication

Re: Servoy 6.1 web table forms

PostPosted: Sun Aug 05, 2012 7:17 pm
by grahamg
Have added screenshot - this is not throwing any warnings for me with SV6.1 Final.

Can be found in Application/Constants/UIconstants

Re: Servoy 6.1 web table forms

PostPosted: Sun Aug 05, 2012 9:53 pm
by itgenetics
Works like a charm! Thanks for the walk through.

Re: Servoy 6.1 web table forms

PostPosted: Sun Aug 05, 2012 11:17 pm
by itgenetics
I have found however - it does not appear to work on the application server? It works perfectly on the developer web client however....

Re: Servoy 6.1 web table forms

PostPosted: Tue Aug 07, 2012 11:53 am
by Gabi Boros
I just tested it on the application server, and it does work; make sure your
solution does set the client property when running from the application server, and
that it does it before touching any form