DBTreeView alternative?

Questions and answers on developing, deploying and using plugins and JavaBeans

Re: DBTreeView alternative?

Postby Harjo » Wed Aug 28, 2013 8:28 am

Hi David,

just to be sure, is this the DBtreeview of Servoy? or the alternative treeview from Servoyforge?
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: DBTreeView alternative?

Postby david » Wed Aug 28, 2013 8:42 am

Servoy's DBTreeView in that screenshot. If the ServoyForge version is web client compatible then the styling approach should be about the same if not identical.
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: DBTreeView alternative?

Postby huber » Sun Nov 17, 2013 6:59 pm

Hi David

I would like to ask you how you did make the dark black rectangle background spanning from the very left to right of the selected menu (in your image the selected Sutra menu)? Standard is only a background around the selected text, but I also tried for your solution, but I didn't find a solution to stretch it to the left.
By the way, this looks very good.

Regards, Robert
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 518
Joined: Mon May 14, 2012 11:31 pm

Re: DBTreeView alternative?

Postby troy » Mon Nov 18, 2013 10:28 pm

huber wrote:I would like to ask you how you did make the dark black rectangle background spanning from the very left to right of the selected menu (in your image the selected Sutra menu)?


Code: Select all
table.wicket-tree-content.selected {
   width: 100%;
   background-image: url(/servoy-webclient/templates/default/images/some_image.jpg);
}


Instead of a background-image, you could use a color, gradient, etc. Note that even though the entire row appears selected, only the text is clickable.
Troy Elliott, Data Mosaic

Image
Everything you need to build great apps with Servoy
U.S. demo server
Blog: Coding Nomad
User avatar
troy
 
Posts: 27
Joined: Fri Oct 24, 2003 8:49 pm
Location: Washington, DC

Re: DBTreeView alternative?

Postby huber » Wed Nov 20, 2013 4:10 pm

Thank you. But what exactly is the term table.wicket-tree-content referring to? Why table and not dbtreeview? I am not aware that table is allowed in the standard Servoy style sheet? Or is this the content of an additional style sheet?

troy wrote:
huber wrote:I would like to ask you how you did make the dark black rectangle background spanning from the very left to right of the selected menu (in your image the selected Sutra menu)?


Code: Select all
table.wicket-tree-content.selected {
   width: 100%;
   background-image: url(/servoy-webclient/templates/default/images/some_image.jpg);
}


Instead of a background-image, you could use a color, gradient, etc. Note that even though the entire row appears selected, only the text is clickable.
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 518
Joined: Mon May 14, 2012 11:31 pm

Re: DBTreeView alternative?

Postby david » Wed Nov 20, 2013 6:53 pm

huber wrote:Or is this the content of an additional style sheet?


Additional style sheet as described in the "Alternative CSS for webclient" ServoyForge project.

Also refer back a couple of posts for all the custom CSS: viewtopic.php?f=15&t=13055&start=45#p106585
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.

Previous

Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 12 guests