Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Left aligning Numeric  columns  in  MS Flexgrid

Posted on 2004-10-07
5
Medium Priority
?
281 Views
Last Modified: 2008-02-01
By  Default text alignment  (Numbers)  are  right  justified  in MS Flexgrid.
Plz  tell  the solution   for  left  justifying  to  numbers.

|----------------|---------------|
| Name           | Age            |
|----------------|---------------|
| Raja             |              20 |
| Ravi             |              25 |
| Raju             |              30 |
|----------------|---------------|

For instance, in the above table "Age" column is aligned to right by default. I've to left  align it.

TIA
ponnusamy
0
Comment
Question by:C_Ponnusamy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 1

Expert Comment

by:mrloumrlou
ID: 12249701
Try:
Format$(123, "@@@@@@")   --------- right justify "   123"
Format$(123, "!@@@@@@")  --------- left justify   "123   "
0
 
LVL 1

Expert Comment

by:mrloumrlou
ID: 12249842
or just add a space before your number.

" " & iTheNumber
0
 

Author Comment

by:C_Ponnusamy
ID: 12256706
Dear mrloumrlou ,

                     Format$(123, "@@@@@@")   --------- right justify "   123"
                      Format$(123, "!@@@@@@")  --------- left justify   "123   "

       is  not  working.  it  produces  an  error.  
 
I have i  find  solution  for  my  question.
We  directly  use  "SetcellAlignment"   function   in  the  program.
 U  can see  details  of this  in  the  following  link location
http://briz.infotools.ru/html/027/grid_cells.htm


Thanks & Regards,
Ponnusamy.C
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12502628
PAQed, with points refunded (80)

modulo
Community Support Moderator
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question