Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Listbox Options Align
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Listbox Options Align
 Login/Join
 
Master
posted
I'm upgrading a few of my HTML UI's from 8008 to 8204. I have noticed that when a dynamic list is populated from a fex and the format for the display column in the XML is integer that the UI rights aligns the data by adding the html space code into the value. Is there away to tell it not to right align the data. 8008 did not do this and now its can change the user does not want. I tried F12 and setting the style attributes to it but the html code for a space it is issue.

Thanks for your help.

This message has been edited. Last edited by: FP Mod Chuck,




Scott

 
Posts: 862 | Registered: May 24, 2004Reply With QuoteReport This Post
Virtuoso
posted Hide Post
I know that this seems to be simple but what if you define your xml as below
SET ASNAMES ON
TABLE FILE GGSALES
SUM TOTAL COMPUTE SEQ_NOX /A7 = LJUST(7, FPRINT(SEQ_NO, 'I5', 'A7'), 'A7'); AS 'VALUE'
BY SEQ_NO AS 'CODE'
ON TABLE PCHOLD FORMAT XML
END
-RUN

Then you use VALUE as for the "Display From" and CODE as "Value From" in the control settings.
You will have the alpha value displayed as left justified but will return the numeric one to your fex.


WF versions : Prod 8.2.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2161 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
Master
posted Hide Post
Yes, I did that and it does work. However, I have a lot of procedures that now need to be updated there has to be a way to tell it not to do that. Seem like a lot of work for something that should be easy.




Scott

 
Posts: 862 | Registered: May 24, 2004Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Agree.

To be honest, normally I don't have any list where the display is only a numeric field so, I haven't faced that issue.
I have to list a description with a code (number) so everything become a char as the displayed value but I return the number to the fex.


WF versions : Prod 8.2.0.1M gen 240, Dev 8.2.04 gen 48, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
 
Posts: 2161 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Listbox Options Align

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.