SAP Community Network Forums » Crystal Reports, Xcelsius and Interactive Analysis » Xcelsius

Thread: Format for certain columns in list view control

This question is answered.


Permlink Replies: 7 - Pages: 1 - Last Post: Nov 13, 2009 6:25 PM Last Post By: Yusufel
Yusufel

Posts: 6
Registered: 11/6/09
Forum Points: 0
 
Format for certain columns in list view control  
Posted: Nov 6, 2009 1:13 AM
Click to report abuse...   Click to reply to this thread Reply
I have a list view control and I would like to format the alignment for certain columns. I heard that the only way you can do this is by formatting the cells in excel. I tried this with no success. Can someone please give me step by step instructions on how to achieve this. I am currently allowing Xcelsius to handle my formatting for money. Is it possible to have Xcelsius handle the money formatting and have excel handle the alignment formatting. I am open to whatever works at this point. Also I am using Xcelsius 2008 (Build Number 12,2,1,66).

Much Thx
senthil kumar

Posts: 754
Registered: 3/2/07
Forum Points: 1,386
 
Re: Format for certain columns in list view control   Helpful
Posted: Nov 6, 2009 5:27 AM   in response to: Yusufel in response to: Yusufel
Click to report abuse...   Click to reply to this thread Reply
Hi,

In list view control you can format the entire row only, not a certain column.

Go to property-->Appearance-->Text Tab-->select Header-->Format selected text->select the format.

For width change: Property--> Layout Tab-->check custom column width the click the icon and enter width in pixel.


Regards,
Senthil K

Baskar Rajagopa...

Posts: 56
Registered: 10/22/09
Forum Points: 50
 
Re: Format for certain columns in list view control   Helpful
Posted: Nov 6, 2009 2:24 PM   in response to: Yusufel in response to: Yusufel
Click to report abuse...   Click to reply to this thread Reply
Hi Yusufel,

It is possible to format the List View text as explained by Senthil.
Still if you are failing to succeed, please let us know what are you trying and what you are unable to achieve.

With best wishes,
BaaRaa.
Yusufel

Posts: 6
Registered: 11/6/09
Forum Points: 0
 
Re: Format for certain columns in list view control  
Posted: Nov 6, 2009 7:16 PM   in response to: Baskar Rajagopa... in response to: Baskar Rajagopa...
Click to report abuse...   Click to reply to this thread Reply
Thanks for the response guys. What I am trying to do though is set the alignment for each column individually so for example column 1 is aligned to the left and column 2 is aligned to the right and column 3 is centered. I know this is not possible in Xcelsius, but it is definitely possible in excel. So I guess the real question is how do I have Xcelsius recognize the formating in excel, or is that even possible...or is there another solution for what I am trying to archive.

Thx
Madhuri Kakumanu

Posts: 2
Registered: 4/15/08
Forum Points: 6
 
Re: Format for certain columns in list view control   Very helpful
Posted: Nov 6, 2009 10:28 PM   in response to: Yusufel in response to: Yusufel
Click to report abuse...   Click to reply to this thread Reply
Hi Yusufel,

For your requirement, you could use a speadsheet table instead of a list view. In a spreadsheet table you can format each column and have your xcelsius component map to that spreadsheet table. I don't think this can be achieved using a list view.
Hope this helps!
- Madhuri
Yusufel

Posts: 6
Registered: 11/6/09
Forum Points: 0
 
Re: Format for certain columns in list view control  
Posted: Nov 7, 2009 1:23 AM   in response to: Madhuri Kakumanu in response to: Madhuri Kakumanu
Click to report abuse...   Click to reply to this thread Reply
Ok, so I switched to a Spreadsheet control and mapped my data. Not sure where to go from here to edit the alignment differently for each column. Any thoughts?

Thx
senthil kumar

Posts: 754
Registered: 3/2/07
Forum Points: 1,386
 
Re: Format for certain columns in list view control   Correct
Posted: Nov 9, 2009 5:21 AM   in response to: Yusufel in response to: Yusufel
Click to report abuse...   Click to reply to this thread Reply
Hi,

If you go for Spreadsheet control, the alignment of the column is very easy. You can apply the format in the excel sheet only and assign data to the Spreadsheet control. Then got to property panel --> Behavior tab--> Common--> Uncheck the Row Selectability. If you change the data format in the Spreadsheet, you can re-assign the data to the Spreadsheet control then only it will affect.

Regards,
Senthil K
Yusufel

Posts: 6
Registered: 11/6/09
Forum Points: 0
 
Re: Format for certain columns in list view control  
Posted: Nov 13, 2009 6:25 PM   in response to: senthil kumar in response to: senthil kumar
Click to report abuse...   Click to reply to this thread Reply
thank you, this helped.

Point your RSS reader here for a feed of the latest messages in all forums