Skip to Content
author's profile photo Former Member
Former Member

Reduce the size of table column heading

Hi,

My table column header is "My Header Text" but i dont want it two be displayed in one line. Just want to display the header

text in two lines.

"My

Header Text".

Is this possible?

Thanks

Anjana

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 17, 2008 at 08:06 AM

    Hi Anjana,

    I am able to see the images in the header when i tired to attach it to the header text.

    i did:

    - Copy a file "BtnNext.gif" into the project directory src\mimes\Components\(choose your component) - Copy here.

    - In the view layout, select the Table UI and select the "Header" then set the property "imageSource" to "BtnNext.gif"

    No coding or no context element binding is required if this header image is constant.

    If you want to make a dynamic change of images in the header go for the context element binding to the imageSource property.

    Hope you get it.

    Thanks & Regards,

    Kiran Chennapai

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      HI all,

      Thanks a lot for your valuable suggestions. I am able to see the image now.

      I created a folder inside src-images-component-<com.mycomponentpackage.mycomponentname>

      then pasted the images as .JPG in that

      gave the exact same name .JPG in image source.

      Once again, Thanks a lot.....

      Have awarded points to all helpful answers too!!!

      Regards

      Anjana

  • Posted on Jan 17, 2008 at 04:54 AM

    Hi,

    Click on the header UI Element in the column of table and go to it's properties.

    Put the value of imagesource as "a.bmp".

    Make sure that you have copied a.bmp under src->mimes->componentsname-><componentfolder.>

    Regards,

    Praveen

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 17, 2008 at 02:49 AM

    Hi Anjana,

    I dont think its possible to have two lines in the header text.

    But, you can try this using an image(which contain 2-lines of text) instead of text.

    Just give maintain the image source property for the header text and try it out.

    Regards,

    Kiran Chennapai

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 17, 2008 at 03:40 AM

    Hi,

    You can specify the width of the Column. Try setting it in pixels so that it comes that way. It can be done that way.

    Let me know if it works.

    Regards,

    Gita

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 17, 2008 at 07:30 AM

    Hi,

    When you deploy the application the image is not getting displayed. Right click in the image in the browser and select the properties. You will get the path of the image from the Address section. Now check if image is placed at the right place or not.

    thanks & regards,

    Manoj

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.