Re: [xwiki-users] Formatting tables into viewport with sliders

2014-12-03 Thread vinc...@massol.net
Hi Bryn,

On 3 Dec 2014 at 06:15:50, Bryn Jeffries 
(bryn.jeffr...@sydney.edu.au(mailto:bryn.jeffr...@sydney.edu.au)) wrote:

 Hi,
  
 I've got a few wiki pages that contain large tables (more columns than will 
 fit across the page and more rows than will fit down the page), after being 
 imported from a spreadsheet. I'd like to restrict the view of such tables to 
 what can be shown in the visible area, with sliders to move around. Is there 
 already a facility to do this, or a simple styling parameter?

You should certainly be able to do that using a Skin extension to put custom 
CSS (if you wish to do that for the whole page or whole wiki):
http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial

The other option, probably simpler, is to use HTML style values just before 
your table. For example:

(% style=“…html style content here” %)
|=head1|=head2
|cell11|cell12

See examples and documentation at 
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HTables

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Formatting tables into viewport with sliders

2014-12-03 Thread Bryn Jeffries
Vincent wrote:
 I'd like to restrict the view of such tables to what can be shown in the 
 visible area, with sliders to move around. Is there already a facility to do 
 this, or a simple styling parameter?
 
 You should certainly be able to do that using a Skin extension to put custom 
 CSS (if you wish to do that for the whole page or whole wiki):
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial
 
 The other option, probably simpler, is to use HTML style values just before 
 your table. For example:
 
 (% style=“…html style content here” %)
 |=head1|=head2
 |cell11|cell12

Thanks. I ended up doing:
(% style=display: block; max-height: 80vh; overflow:auto %)
|=head1|=head2
|cell11|cell12

Which limited the table size to a proportion of the available viewport height 
and added scrollbars when the table went oversize. The only real downside for 
this approach is that the thead won't stick at the top, but this appears to be 
a CSS conundrum for which there doesn't appear to be a decent solution.

Cheers,

Bryn
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Formatting Tables

2009-11-19 Thread Steven Calkins
I must correct mself. After the change and emptying the cache it is working 
now. 
Greetings,

Steven Calkins

-Ursprüngliche Nachricht-
Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von 
Steven Calkins
Gesendet: Mittwoch, 18. November 2009 14:40
An: XWiki Users
Betreff: Re: [xwiki-users] Formatting Tables

Hi,
I tried the setting in my toucan.css, but it still didn't work. Is there some 
other setting that the colibri skin makes in this regard, that isn't mentioned 
here? 

Greetings
Steven Calkins

-Ursprüngliche Nachricht-
Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von 
Ecaterina Valica
Gesendet: Mittwoch, 18. November 2009 12:00
An: XWiki Users
Betreff: Re: [xwiki-users] Formatting Tables

Hi,

this is already taking care in the colibri cleanup - so if you are taking the 
latest 2.1 snapshot is ok.

The thing is that you need for the #xwikicontent an overflow:auto; property 
(add this to your toucan.css or colibri.css).

Caty
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Formatting Tables

2009-11-19 Thread Guillaume Lerouge
Hi Steven,

On Thu, Nov 19, 2009 at 10:28 AM, Steven Calkins 
steven.calk...@crossmediasolutions.de wrote:

 I must correct mself. After the change and emptying the cache it is working
 now.


Glad to hear that :-)

Guillaume


 Greetings,

 Steven Calkins

 -Ursprüngliche Nachricht-
 Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag
 von Steven Calkins
 Gesendet: Mittwoch, 18. November 2009 14:40
 An: XWiki Users
 Betreff: Re: [xwiki-users] Formatting Tables

 Hi,
 I tried the setting in my toucan.css, but it still didn't work. Is there
 some other setting that the colibri skin makes in this regard, that isn't
 mentioned here?

 Greetings
 Steven Calkins

 -Ursprüngliche Nachricht-
 Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag
 von Ecaterina Valica
 Gesendet: Mittwoch, 18. November 2009 12:00
 An: XWiki Users
 Betreff: Re: [xwiki-users] Formatting Tables

 Hi,

 this is already taking care in the colibri cleanup - so if you are taking
 the latest 2.1 snapshot is ok.

 The thing is that you need for the #xwikicontent an overflow:auto; property
 (add this to your toucan.css or colibri.css).

 Caty
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Formatting Tables

2009-11-18 Thread Guillaume Lerouge
Hi Regan,

On Wed, Nov 18, 2009 at 5:56 AM, Regan Gill rg...@acceptsoftware.comwrote:

 Hi Guillaume,

 This is an identified issue. There used to be an overflow CSS setting
 applied to the wiki content area in previous skins. It made it so that
 a
 horizontal scrollbar would appear at the bottom of the content area if
 and
 when needed. The relevant CSS property somehow got removed in the
 latest
 versions.

 Great thanks! Is it a change in one file or something similarly easy to
 modify in my installation until its available in a new version?


I'm not sure where exactly this was located. You could try looking at your
wiki with the toucan skin, check whether the scrollbar appears and if it
does use firebug to sniff the code responsible for this... If you feel like
it ;-)

Guillaume


 Regan
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Formatting Tables

2009-11-18 Thread Ecaterina Valica
Hi,

this is already taking care in the colibri cleanup - so if you are taking
the latest 2.1 snapshot is ok.

The thing is that you need for the #xwikicontent an overflow:auto; property
(add this to your toucan.css or colibri.css).

Caty
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Formatting Tables

2009-11-17 Thread Guillaume Lerouge
Hi Regan,

On Wed, Nov 18, 2009 at 1:59 AM, Regan Gill rg...@acceptsoftware.comwrote:

 Hi All,

 I've got a usability problem in our wiki. Currently we are running
 2.0.3, but the problem started happening a few versions back. We have
 several cases where we have long tables of information that used to work
 fine -- the page would have a scrollbar which allowed the user to scroll
 the viewable content page area and see all of the table. But now what
 happens is the table is written under neither the panel on the right and
 although there is a scroll bar it is for the entire page in the browser
 so scrolling will never reveal the part of the table under the panel.
 And the rest of it appears on top of the wiki background area so it
 pretty illegible.

 Is there some easy workaround to avoid this and put the tables back
 into the page without having to create html around it to do it
 artificially? The reason I don't want to do this is because it's one
 more thing that makes it's harder for my users to create their own
 content.

 I am not sure when this change happened but I know for sure that with
 version 1.6.x I was able to create tables in my pages that were
 scrollable within the content area.

 I hope this is making sense, a picture would have described it a lot
 better :)

 Here is a table example to show the sort of data we are trying to
 maintain, once we put normal content in the rows the table runs off to
 the right and becomes unusable.

 |Name|Access URL|Release Version|SVN|App-Instance Details|DB Instance
 Details|Reporting Instance Details|Logi Details|OLTP DB Name|OLTP
 Username| ETL DB Name|Report DB Username
 | planner_playground_4602_finalHF| http~://~/~/192.168.1.21:9033//|
 4.6.0.2-FinalHF| 15706| home/accept/planner_playground_4602_finalHF/|
 peres| NA| NA| accept_qa_4602_finalhf| sa| NA| NA

 Thanks in advance for any help,


This is an identified issue. There used to be an overflow CSS setting
applied to the wiki content area in previous skins. It made it so that a
horizontal scrollbar would appear at the bottom of the content area if and
when needed. The relevant CSS property somehow got removed in the latest
versions.

Caty, can you look at this and see if we can include the required property
in the colibri cleanup?

Thanks,

Guillaume


 Regan Gill
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Formatting Tables

2009-11-17 Thread Regan Gill
Hi Guillaume,

This is an identified issue. There used to be an overflow CSS setting
applied to the wiki content area in previous skins. It made it so that
a
horizontal scrollbar would appear at the bottom of the content area if
and
when needed. The relevant CSS property somehow got removed in the
latest
versions.

Great thanks! Is it a change in one file or something similarly easy to
modify in my installation until its available in a new version?

Regan
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users