Hello, guys!
Do you know any tm1 web configuration parameters to wrap or minimize alias name when using it in tm1 web view. You can see this problem at the picture below.
So width of the first column is not convenient.
Wrap alias in TM1 Web view
- nlashin
- Posts: 28
- Joined: Tue Jun 18, 2013 10:24 am
- OLAP Product: TM1
- Version: Planning Analytics 2.0
- Excel Version: 365
Wrap alias in TM1 Web view
- Attachments
-
- Too long alias name.jpg (159.25 KiB) Viewed 6250 times
- Elessar
- Community Contributor
- Posts: 412
- Joined: Mon Nov 21, 2011 12:33 pm
- OLAP Product: PA 2
- Version: 2.0.9
- Excel Version: 2016
- Contact:
Re: Wrap alias in TM1 Web view
Hello Nikita,
The only way is to create alias with shorter names.
You can also create a websheet with a fixed (shorter) column width
The only way is to create alias with shorter names.
You can also create a websheet with a fixed (shorter) column width
- nlashin
- Posts: 28
- Joined: Tue Jun 18, 2013 10:24 am
- OLAP Product: TM1
- Version: Planning Analytics 2.0
- Excel Version: 365
Re: Wrap alias in TM1 Web view
Hello Elessar!
Thanks for your answer. But I'm pretty sure that it is possible to change max column width in .css files. It is ok for me, if part of alias name won't be visible.
Thanks for your answer. But I'm pretty sure that it is possible to change max column width in .css files. It is ok for me, if part of alias name won't be visible.
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: Wrap alias in TM1 Web view
To be fair, that really wasn't your question. Modifying the .css files within TM1Web is not a configuration parameter, it's a hack. I'm sure that there is a way to change a lot of display behavior in TM1Web by hacking the code. I wouldn't recommend it though because you'll have to redo your hack every time a new release or fixpack is applied.nlashin wrote:Thanks for your answer. But I'm pretty sure that it is possible to change max column width in .css files. It is ok for me, if part of alias name won't be visible.
-
- Posts: 17
- Joined: Thu Feb 20, 2014 8:42 am
- OLAP Product: TM1
- Version: PA 2.0.9
- Excel Version: 2016
- Location: Russia, Saint-Petersburg
Re: Wrap alias in TM1 Web view
Find this code in TM1 css file (standaloner.css or contributor.css or whatever you use)
and append to the end of code:
This code set max width, truncate text and add ellipsis to the end of the text.
Code: Select all
.CVHeaderCell {
padding-right: 3px;
padding-left: 3px;
font-size: 8pt;
font-family: Tahoma, 'Trebuchet MS', Arial, Verdana, Helvetica, sans-serif;
color: #333333;
background-color: #DFE3E8;
border-right: 1px solid #E2E2E2;
border-left-width: 0px;
border-bottom: 1px solid #E2E2E2;
border-top-width: 0px;
margin: 0px;
border:1px solid #B1B5BA;}
Code: Select all
max-width: 200px;
overflow: hidden;
text-overflow: ellipsis;
- Elessar
- Community Contributor
- Posts: 412
- Joined: Mon Nov 21, 2011 12:33 pm
- OLAP Product: PA 2
- Version: 2.0.9
- Excel Version: 2016
- Contact:
Re: Wrap alias in TM1 Web view
Tom,
I agree it's a hack, but changing *.css files in TM1 10.1.* is encouraged by IBM: http://www-01.ibm.com/support/docview.w ... wg21634684
Note that changing .css files in PA is prohibited (also, CSSs in PA are built into compressed files and not so easily changeable)
I agree it's a hack, but changing *.css files in TM1 10.1.* is encouraged by IBM: http://www-01.ibm.com/support/docview.w ... wg21634684
Note that changing .css files in PA is prohibited (also, CSSs in PA are built into compressed files and not so easily changeable)
-
- Regular Participant
- Posts: 159
- Joined: Fri Aug 12, 2016 10:02 am
- OLAP Product: tm1
- Version: 10.2.0 - 10.3.0
- Excel Version: 2010
Re: Wrap alias in TM1 Web view
just need write you Javascript function check all data in table and change width in column, appent this in tm1web.js