GridControl: Column width and Font Color

I'm having two problems with the GridControl in JBCL:
1) I can't set the font color of the text in the gridcontrol. Is
this possible? I tried setting the foreground color, but that
didn't work. I'd also like to be able to set the background
color for the headers.
2) I have a gridcontrol connected to a queryDataSet. I set the
column width of the columns in the query data set, and the
columns in the gridcontrol expand up to about 100pixels. After
that however, the don't get any larger (even when set to 300). I
have 2 columns I want to span the entire width of the screen,
but
I can't get it working.
Thanks for your help,
Kevin
null

Can any one help us ?
Thanks,
Ramesh S.
null

Similar Messages

  • Table component - column width and background color?

    Is there any way to set the column width on the table component?  And is there any way to set the background color.  I am using Xcelsius 2008.
    Thanks,
    Karen

    Column width and background can be set in the Excel range and then bind table component to display the range.
    If you change the Column width of background in the Excel range, you need to rebind the display range to update the format.
    Hope this can help!

  • How to change the background and font color of a particular row in table

    Hi,
       i need to change the background and font color of a particular row. I am using textview as table columns. I tried to do it using semanticColor property of textview  but the font color get changed for the whole column. But i want to change the color of a particular row only.
       If anybody knows please help me(give an example if possible).
           Thanks and regards.
            Pankaj Kumar.

    Hi Pankaj,
    In your data source context node (context node which is bound to dataSource property of Table UI elemennt) do following:
    If data source node is model node: create a value node under data source node, cardinality 1..1, selection 1..1, singleton false. In this new node add value attribute and set property readOnly=true, calculated=true, property com.sap.ide.webdynpro.uielementdefinitions.TextViewSemanticColor .
    If datasource node is value add value attribute and set property readOnly=true, calculated=true, property com.sap.ide.webdynpro.uielementdefinitions.TextViewSemanticColor.
    In calculated getter method put your color calculation depending on conditions, like:
    return <condition>
      ? WDTextViewSemanticColor.CRITICAL
      : WDTextViewSemanticColor.STANDARD;
    Bind new created attribute with property semanticColor of textview.
    Best regards, Maksim Rashchynski.

  • How to Include More Than One Font and Font Color Within a Fluid Grid Div Tag?

    Using CSS code, I can make all the words within a fluid grid div tag the same font, font size, and font color, but how do I make a few of the words different?

    You can style the basic text and heading selectors with CSS:
    p { }
    h1 { }
    h2 { }
    h3 { }
    h4 { }
    etc...
    And you can make classes:
    .red {color:red}
    .highlight {background-color:yellow}
    Then apply classes to your text or sections of it using the HTML properties panel.
    <div>
         <p>This is a default paragraph style.</p>
         <p class="red">This is red.</p>
         <p class="highlight">This is highlighted.</p>
         <p>Default style with <span class="red highlight">red, highlighted text</span> and normal text.</p>
    </div>
    Incidentally, this will work in any layout.
    How to Develop with CSS?
    http://phrogz.net/css/HowToDevelopWithCSS.html
    Nancy O.

  • Can I change different background and font color on each records?

    Hi,
    I had a Data_Block which contains some records, I had a field name 'currency' which contains value such as (HKD, JPY, CNY, CND, USD etc..)
    Let there there are 5 Records contain in that Data_Block and I wanted to change the background and font color depend on the Currency value.
    I were using Set_Item_Property and change the Visual_Attributes that I had define. Well I guess that doesn't work since uisng the Set_Item_Property
    it will actually getting the last value and use that last value and changed to all the same color to that.
    I wonder is there a way to do that in Oracle you can change the field different color?
    Thanks
    David Willis

    Thanks You so much.
    Actually I were trying to look for that function at the User Manual but I couldn't find it because I remembered I had seem it some where.
    I guess I am looking at the Form4.5 user manual instead of the Oracle 9i Forms Developer.
    Thanks
    David

  • Column widths and gutters

    I would like to have variable column widths and gutters. At present (Acrobat 6 running under XP Prof. SP3) although I can choose the number of columns, and hence the number of gutters, all columns must be the same width and all gutters the same width.

    What does your question have to do with Acrobat? Acrobat is not an editor.

  • Is there any way to make column width and height 0 by using formula?

    Eg:
    =If (column = value) then Column width = 0px and height = 0px

    Hi Riaz,
    Instead of kepping column width and height as 0, you can just hide the particular column by using the same function that you mentioned above, (if column = value) in hide..
    You can just right click on the column->hide->hide if->dimension=value.

  • Applescript/Pages and adjusting column width (and paragraph style)

    I was hoping that some someone might know how to adjust the width of individual columns in Pages using Applescript. It seems like it should be a simple task, and I can adjust the overall width/height of the table, but I haven't found a way to adjust the column width. Alternatively, I could have the program create the table in Numbers and copy/paste it into Pages, but I'd imagine that would get a bit messy and wouldn't allow me to use a hanging indent in the cells (to the best of my knowledge).
    Also, is there a way to adjust the paragraph style used by the text in the table? Otherwise, I could just use a templet and define the the default table style appropriately. (Though not the most elegant solution).
    Thanks in advance for your help!
    (In case it helps, the script I'm working on parses an unformatted inventory and parses it into paragraphs/tables.)

    Try this:
    set tableCount to 0
    --open file to be pased here, excluded for example
    tell application "Pages"
        activate
        set theDoc to (make new document)
        tell theDoc
            --makes paragraph styles used
            make new paragraph style with properties {name:"Folio", font name:"Times New Roman", font size:12, bold:true, alignment:left, space after:5, keep with next paragraph:true, space before:15}
            make new paragraph style with properties {name:"Place", font name:"Times New Roman", font size:12, bold:false, alignment:left, line spacing type:relative, line spacing:100}
            make new paragraph style with properties {name:"Description", font name:"Times New Roman", font size:12, bold:false, italic:true, alignment:left, line spacing type:relative, line spacing:100}
            make new paragraph style with properties {name:"Table", font name:"Times New Roman", font size:12, alignment:left, left indent:0.5, first line indent:0.0}
            --begin repeat, gathers MS info from one doc (unformatted) and writes it into another with formatting, setting variables directly for example
            set MSName to "new Manuscript"
            set MSPlace to "place where MS is stored"
            set MSDesc to "description of MS"
            set tableData to {{"folio", "title", "composer"}, {"", "subtitle", ""}, {"etc", "next", "next"}}
            --write paragraph information from earlier
            set currentPar to (make new paragraph at end of paragraphs with data MSName)
            set paragraph style of currentPar to "Folio"
            set currentPar to (make new paragraph at end of paragraphs with data MSPlace)
            set paragraph style of currentPar to "Place"
            set currentPar to (make new paragraph at end of paragraphs with data MSDesc)
            set paragraph style of currentPar to "Description"
            --create table, add data, and format
            tell application "System Events" to tell process "Pages"
                key code 125 using {command down} -- move the insertion point to the end
                tell menu bar 1
                    -- Insert a new table:
                    click menu item "Table" of menu 1 of menu bar item "Insert"
                    -- Delete the header row:
                    tell menu 1 of menu bar item "Format"
                        click menu item "Delete Row" of menu 1 of menu item "Table"
                    end tell
                    -- Show the Inspector:
                    tell menu 1 of menu bar item "View"
                        if menu item "Show Inspector" exists then
                            click menu item "Show Inspector"
                        end if
                    end tell
                end tell
                tell window 1 -- the Inspector window
                    click radio button 7 of radio group 1 -- select the Table Inspector
                    perform action "AXRaise" -- activate the Table Inspector
                    tell tab group 1 of group 1
                        click radio button "Table" -- select “Table”
                        -- Reduce width of all three columns:
                        repeat 3 times
                            set value of text field 2 to "0.5 in"
                            set focused of text field 2 to true
                            keystroke return
                            keystroke tab -- next column
                        end repeat
                        key code 126 -- the Up Arrow
                        -- Set width of each column:
                        repeat with theValue in {"0.75 in", "4.25 in", "1.5 in"}
                            set value of text field 2 to theValue
                            set focused of text field 2 to true
                            keystroke return
                            keystroke tab -- next column
                        end repeat
                        key code 126 -- the Up Arrow
                    end tell
                end tell
                keystroke "i" using {option down, command down} -- hide the Inspector
                -- Add the data:
                repeat with i from 1 to 3
                    set thisRow to item i of tableData
                    repeat with j from 1 to 3
                        keystroke (item j of thisRow)
                        if (i * j = 9) then exit repeat
                        keystroke tab
                    end repeat
                end repeat
            end tell
            set tableCount to tableCount + 1
            tell table tableCount
                select
                set stroke width to 0.0
                set wrap to center
                set name to MSName
            end tell
            --after which it would continue with the next MS and repeat the process until all are done
        end tell
    end tell

  • Is it possible to have a fixed column width and a URL link?

    I am trying to achieve having a popup link on a column within a SQL report but also have the report column a certain width. I can have either or however not at the same time.
    What I did was created a SQL report, edited a column and gave it a URL redirect (page in application) as normal.
    For the fixed column width, I used:
    <div style="width:250px; height:54px; overflow:hidden" title="#Comments#">#Comments#</div>On Column Formatting / HTML Expression
    And for the popup URL, I used:
    onclick="window.open(this.href,'_blank','resizable=0,scrollbars=0,width=650,height=300,menubar=0,location=0');return false;" title="Comments"On the Column Link / Link Attributes

    Andy thank you for your reply, however I either am not completly understanding or there is a problem elsewhere.
    I have changed to the code to fit the needs of the application as so:
    !http://i41.tinypic.com/2m6mrh4.jpg!
    App ID: 523
    Page: 23
    Item: P23_STATUS_COMMENT
    Column to select: Comments
    Whenever clicking on the link, the following error is given:
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
         Error      ERR-7620 Could not determine workspace for application ().{code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Prob with fixed column widths and word wrapping in viewer

    i have a report where each record has a very long paragraph of text in it.
    In desktop and plus, the text column is at a fixed width and the text just wraps nicely according to the column width.
    But in Viewer, the column widths do not stay fixed, the text does not wrap, and the long text is displayed in a single line that completely stretches the column width off the page and requires a horizontal scroll bar.
    is there anyway to fix the column width in viewer, have the text naturally wrap, and prevent the column stretching. All word wrapping settings are on, but seem to have no effect. I can't seem to find any solution to this.
    Thanks...

    Hi Pritam,
    Per my understanding that you can't see the vertical scrollbar of the ReportViewer controls 2012 to scroll for the grid rows, but can see the vertical scrollbar of the web application, you also can't fix the headers while scrolling, right?
    I have tested on my local environment and can't reproduce your issue, but you have an alternative way to add some css  to the web form's source code to display the vertical scrollbar.
    Details information below for your reference:
    Please check below properties setting of the reportviewer which control the visibility of the scrollbar:
    AsyncRendering="true"
    SizeToReportContent="false"
    Please check if this problem also occur on other version of IE and other type of browser.
    Please check if you have done correct setting of the Fix data to freeze the table header as the step of below:
    http://technet.microsoft.com/en-us/library/bb934257(v=sql.100).aspx
    If step1 doesn't work, please click the source of webform.aspx and add below CSS to add the vertical scrollbar manually:
    #ReportViewer1 {
              overflow-y: scroll;
    Run the application you will see it display as below:
    Similar thread for your reference:
    https://social.msdn.microsoft.com/forums/sqlserver/en-US/f96b3b56-e920-411b-82ea-40467c922e66/reportviewer-control-vertical-scroll-bars
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu

  • TeXShop and font color

    I am using TexShop in LaTeX. But I have a problem with the font color in TeXShop: it changes to white, and I can not get it back to black. I hope that someone can help me, thank you!

    Just a long shot, but have you tried to toggle syntax highlighting on and off in the  preferences "Source" tab? That will rewrite the color table for the source editor. The "Console" foreground color is is set in the "Console" tab of the preferences.
    All colors are stored in the user preferences file:
    ~/Library/Preferences/TeXShop.plist
    If you cannot change the colors using TeXShop's Preferences panel, the preferences file may be corrupted. Then  I'd try to quit TexShop and to remove this preferences file.
    Regards
    Léonie

  • Planning Layout Column Width and Text Wrapping

    Hello,
    Is there a way in a BPS layout to set the column width to a certain length and have the column heading texts wrap?  I noticed an answer for adjusting a table API for BW Web columns, but not BPS.
    Thanks,
    Cherie

    A coworker figured out by selecting the line break in the change subcomponent it wraps the column text.

  • Uneven Column Width and Spanning

    So, I would like to create a grid with two columns of different widths. From what I can tell, the only way to do this is to manually adjust column guides on a master page and then flow in my text.
    The only problem is that InDesign creates separate frames for each column instead of a 2-column frame. I can't have any ¶ styles span the columns.
    Does anyone have a creative solution for this? I would really prefer not to use separate text frames any time I want to span columns.
    Thanks,
    Chris

    Chris Z. wrote:
    So, I would like to create a grid with two columns of different widths. From what I can tell, the only way to do this is to manually adjust column guides on a master page and then flow in my text.
    The only problem is that InDesign creates separate frames for each column instead of a 2-column frame. I can't have any ¶ styles span the columns.
    Does anyone have a creative solution for this? I would really prefer not to use separate text frames any time I want to span columns.
    Thanks,
    Chris
    Depending on the specific needs of the text flow, you might be able to use some combination of a multiple-column layout, span-column properties, left and right indents, text frame insets, and master-page frames with text wrap properties, so achieve your goal. By "multiple-column layout" I'm thinking of the technique of designing page grids with many columns, and placing page content across one, two, or more columns; in this fantasy, I'm thinking of different span-column properties. For example, with a six-column grid, paragraphs could span one, two, three, four, five or all six, to give the effect of different column widths in the text frame. I've done only the barest minimal experiment; it seems promising. It would take some effort to create, but setting the necessary properties by using styles, the effect could maintain itself without manual intervention, so the development effort would be returned every time you use it.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Header and Font Color

    I am writing a newsletter in Pages and love the way the templates are set up. However, when I go in and write my own text, the headers and text change colors! How can I keep them the same as the example templates or even change them (they keep turning gray)? Why can I not change the font color?

    Which template are you using?
    I tested with "The collector".
    I selected the header then I applied to it the red color and it worked flawlessly.
    Yvan KOENIG (from FRANCE mardi 22 juillet 2008 11:49:03)

  • Why can't I change the transparent color and font color in IOS 7?

    Who thought all this WHITE AND TRANSPARENT color looks appealing?
    Why can't I change the color of the folders and text?
    I already tried inverting the colors and then it washes out the photos I use as my wallpaper.
    I love everything, so far, except this transparent issue.

    That's very sad those colors can't be changed. They really look ugly.
    Thanks for responding.

Maybe you are looking for