Table header cells style

Questions and answers for designing and implementing forms in Servoy

Re: Table header cells style

Postby Robert Huber » Fri Feb 11, 2011 12:46 am

Thanks, Karel

Regards, Robert
Robert Huber
7r gmbh, Switzerland
SAN Developer
www.seven-r.ch
User avatar
Robert Huber
 
Posts: 1239
Joined: Tue Aug 23, 2005 6:52 pm
Location: Schaffhausen, Switzerland

Re: Table header cells style

Postby sbutler » Sat Feb 12, 2011 12:07 am

Karel Broer wrote:That's exactly what I would like. Just a standard way to set the tableheader style by CSS.
It would be sensible for sure, Robert. Case 356323 created for this.


+1
Scott Butler
iTech Professionals, Inc.
SAN Partner

Servoy Consulting & Development
Servoy University- Training Videos
Servoy Components- Plugins, Beans, and Web Components
Servoy Guy- Tips & Resources
ServoyForge- Open Source Components
User avatar
sbutler
Servoy Expert
 
Posts: 759
Joined: Sun Jan 08, 2006 7:15 am
Location: Cincinnati, OH

Re: Table header cells style

Postby ngervasi » Wed Feb 16, 2011 1:22 pm

+1
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: Table header cells style

Postby ROCLASI » Thu Feb 17, 2011 5:25 pm

+1
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Table header cells style

Postby Harjo » Thu Feb 17, 2011 5:56 pm

if you dont want to wait, for this feature in Servoy6 and want it already in Servoy 5, we will provide (soon) a template that you can use. No hacking, just a pure new template under your: server/webapps/ROOT/servoy-webclient/templates/myowncss/

the only thing you have to do, in your solution startup method is call this method:
Code: Select all
application.setUIProperty(APP_WEB_PROPERTY.WEBCLIENT_TEMPLATES_DIR, 'myowncss');


Everything is done and tested & crossbrowser! For Internet Explorer a small 1px gradient image is used, for Firefox, Chrome, Safari, Opera, everything is done with CSS (even the gradients)
You can even set the tableheader height!! :-)

It will look like this: (Remember, look closely!! this is web-client, NOT smart-client :-))
css1.png
css1.png (190.79 KiB) Viewed 10624 times

css2.png
css2.png (164.61 KiB) Viewed 10624 times


The only thing left that we can't style ourselfs is the CSS of the FormInDialogs, I'm already in discussion with Servoy, to see if in Servoy 6 the CSS can be brought also, to the default_servoy.css
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Table header cells style

Postby Harjo » Fri Feb 18, 2011 10:24 pm

oke, talked with Paul Bakker today, and he pointed me in the right direction, for styling the FormInDialog Window in the web-client!! (thanks Paul!! :D )

Here is screenshot!
css3.png
css3.png (176.64 KiB) Viewed 10611 times


Also made a little screencast!
http://screencast.com/t/4nHtp8UzMmI
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Table header cells style

Postby grahamg » Sat Feb 19, 2011 1:50 am

This looks brilliant Harjo - look forward to testing :D
Graham Greensall
Worxinfo Ltd
www.worxinfo.com
grahamg
 
Posts: 752
Joined: Fri Oct 03, 2003 3:15 pm
Location: Midlands UK

Re: Table header cells style

Postby Karel Broer » Mon Feb 21, 2011 4:33 pm

Harjo wrote:oke, talked with Paul Bakker today, and he pointed me in the right direction, for styling the FormInDialog Window in the web-client!! (thanks Paul!! :D )
Here is screenshot!
Also made a little screencast!
http://screencast.com/t/4nHtp8UzMmI

Yeah..really cool indeed!
Karel Broer
ServoyCamp - http://www.servoycamp.com
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem

Re: Table header cells style

Postby Harjo » Mon Feb 21, 2011 6:08 pm

I'm not done yet!, still have to remove, the field selection color (which Safari, & Chrome does)
and I want to style the popupmenu's also in the same Look And Feel.

If it's ready (hopefully by the end of this week) I will post it on http://www.servoycamp.com, and reply here....
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Table header cells style

Postby Harjo » Tue Mar 22, 2011 1:24 pm

I have uploaded a first version of the new custom servoy-webclient CSS on Servoy Forge

https://www.servoyforge.net/projects/servoy-default-css

On how to use it, read the wiki: https://www.servoyforge.net/projects/se ... t-css/wiki

Enjoy! :D
Harjo Kompagnie
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Table header cells style

Postby Karel Broer » Wed Mar 23, 2011 10:26 am

Harjo wrote:I have uploaded a first version of the new custom servoy-webclient CSS on Servoy Forge

https://www.servoyforge.net/projects/servoy-default-css

On how to use it, read the wiki: https://www.servoyforge.net/projects/se ... t-css/wiki

Enjoy! :D

Veeery nizzze job Harjo! Thanks! 8)
Karel Broer
ServoyCamp - http://www.servoycamp.com
User avatar
Karel Broer
 
Posts: 779
Joined: Mon May 03, 2004 12:49 am
Location: Doetinchem

Re: Table header cells style

Postby Robert Huber » Wed Mar 23, 2011 12:25 pm

Hi Harjo

Some time ago I opened a case for more CSS support in Servoy, including support for gradients like you use in your servoy_web_client_default.css file, e. g. something like: background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ccc), color-stop(1, #666));
As I would also like to use these/more css properties in a regular Servoy project, i. e. SmartClient, we should have this css support as regular support in the Servoy CS I think.

You write you are in talk with Servoy, how far have you come and do we have a chance to get this support in Servoy 6.x or even in 5.x?

Thanks for all your work and best regards,
Robert Huber
7r gmbh, Switzerland
SAN Developer
www.seven-r.ch
User avatar
Robert Huber
 
Posts: 1239
Joined: Tue Aug 23, 2005 6:52 pm
Location: Schaffhausen, Switzerland

Re: Table header cells style

Postby huber » Fri Feb 21, 2014 10:04 am

Can anyone comment on the state of this request? I cannot find the case number SVY-356323 in the support system. What does that mean?
This is for me still the standard way to go for styling table headers with CSS.
Thanks in advance.

Karel Broer wrote:
Robert Huber wrote:I support Karel's request for styling a table view column just the standard way in doing it with a css keyword like tableHeader (as Karel suggested) and definig it's properties. The current form with the labelfor is just complicated without any (obvious) advantages.

That's exactly what I would like. Just a standard way to set the tableheader style by CSS.
Karel, have you made a request for this? Would be sensible, wouldn't it.

It would be sensible for sure, Robert. Case 356323 created for this.
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 516
Joined: Mon May 14, 2012 11:31 pm

Re: Table header cells style

Postby david » Fri Feb 21, 2014 8:28 pm

I think there have been a few issues with Smart Client over the past several years that may have taken precedence over table header gradients. Like just keeping it running.

There has been a flurry of recent activity in the JavaFX space and it would be interesting to see Smart Client moved entirely over to JavaFX. Not sure it would be economically worth the effort though as the browser has won the war on client of choice. The momentum behind html5/css/javascript client development is staggering. I'm not putting any bets on Oracle's ability to keep even distant pace.
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Re: Table header cells style

Postby huber » Wed Feb 26, 2014 11:52 am

I try again, anyone has an idea (Servoy?) if this request is to be implemented in the near future? Where is the case with this number gone?

huber wrote:Can anyone comment on the state of this request? I cannot find the case number SVY-356323 in the support system. What does that mean?
This is for me still the standard way to go for styling table headers with CSS.
Thanks in advance.
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 516
Joined: Mon May 14, 2012 11:31 pm

PreviousNext

Return to Forms

Who is online

Users browsing this forum: No registered users and 7 guests

cron