How to change the header text fontFamily of spark DataGrid?

I use an embed font (Nunito-Light.ttf),  and i can set the font of GridColumn to Nunito-Light in DataGrid , but it seems that it has no effect to the header of DataGrid.
and then I create a  headerRenderer for spark DataGrid, and try to set the fontFamily of "labelDisplay" to Nunito-Light  , but It seems still no effect .
If I set the fontFamily of "labelDisplay" to "Verdana" or "Arial" , it has effect , so strange! Is that a bug?
Anybody  has the same problem? Please tell me how to solve it ,thank you very much!

Hi,
Please go through following link :
http://forums.adobe.com/thread/870081#870081
Thanks and Regards,
Vibhuti Gosavi | [email protected] | www.infocepts.com

Similar Messages

  • How to change the header text on output type in sapscript

    Dear All,
    In the sapscript, I would like to changes the header text from invoice number to sales number on the output type z001.
    Could someone can guide me?
    Thanks.

    Hi,
    Please go through following link :
    http://forums.adobe.com/thread/870081#870081
    Thanks and Regards,
    Vibhuti Gosavi | [email protected] | www.infocepts.com

  • How to change the header text of documents posted to FI from accrual engine

    Dear experts,
    could anybody explain us step by step how we can get a different header or position text into transaction ACACTREE01, which can can be shown in FI or CO-Reporting.
    Kind Regards
    Sladinky

    Hi Sladinky,
    Can you please suggest this in case you have already implemented it ?
    Thanks,
    Sourav

  • How to edit the header text of colums in DataGrid

    Hi
    Iam not able to edit the headertext or column header names of the datagrid ..can somebody help me asap..how to do it...I want to edit the  column header names (headertext) in the runtime ..similar to  edit the data in the rows of datagrid by setting the editable property to true..

    Even the DataGridColunm has property headerRenderer.I tried the following ..But its not working ..plzz help me out
    <mx:DataGridColumn id="timeCol"    dataField="Time"    headerText="Time (ms):"  headerRenderer="Display" />
    The code for Display.mxml is as follows
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Label xmlns:mx="http://www.adobe.com/2006/mxml" initialize="inti()">
        <mx:Script>
            <![CDATA[
                public function inti():void{
                    this.addEventListener(MouseEvent.DOUBLE_CLICK,edit);
                public function edit():void{
                    trace("In Naga");
                    this.text="naga";
            ]]>
        </mx:Script>
    </mx:Label>

  • How to change the default text title of Detached table/treetable

    Hi,
    Is anybody know How to change the default text title of Detached table/treetable.
    I have already read the post on "http://vtkrishn.com/2010/07/28/how-to-change-the-default-text-title-of-detached-tabletreetable/"
    as per this post It will change the title throughout the application.
    I wanted to change only for one particular table.
    Thanks,
    Charu
    Edited by: Charu on Sep 13, 2012 4:14 AM

    Hi,
    please don't double post and instead continue with your original threat. In the previous post you got the correct answer to use skinning. You did not like the solution as it doesn't allow per-instance titles. I agree with this and a logical consequence is to file an enhancement request instead of re-posting the question. I'll file the ER, so no need to follow up for you anymore
    Frank

  • To change the header text of Purchase order using BAPI

    Hi,
    I am using BAPI_PO_CHANGE to change the header text of PO. But it s not reflecting. Can anyone help me by providing solution for this.
    <i><b>Points will be rewarded for the useful answers.</b></i>

    Hi,
    I need to change the text using this BAPI alone. I am using this because i need to change many parameters of PO.
    Can u please say me solution using BAPI_PO_CHANGE. I need to know what are all the parameters need to be passed to BAPI to change the text.
    Thank you for replying.

  • User exit/BADi to change the header text in MIRO transaction

    Hi all,
    I am searching user exit or badi to change the header text in MIRO transaction.
    My requirement is, before post the invoice I need to populate the vendor name in Header text field(MIRO -> Details tab -> header text field ). I have tried all the user exits and BADi's related to MIRO. Doesn't work. If anybody knows please share.
    Thanks,
    Pranav

    Try BADI INVOICE_UPDATE.
    If you are in system version is ECC 6.0, you can find out a Enhancement SPOT (ES_SAPLMRMC) under Function module MRM_FINAL_CHECK, which can be used to perform this requirement
    Hope this helps.
    Thanks,
    Balaji
    Edited by: Balaji Ganapathiraman on Mar 14, 2008 4:43 PM

  • How to wrap the heading text in alv.

    HI all,
          I need help, how to wrap the heading text in alv.
    can any help ... plz..
    Advanced Thanks
    Regards
    GUhapriyan

    Hello GuhaPriyan,
    I assume that you're referring to the ALV Grid's title. The maximum length for this title is 70 characters and this would generally fit in the one line.
    Are you intending to wrap it because you purposefully want the text to come in two lines? In that case, I'm not sure that it's possible.
    But otherwise, there's an option in the Layout called SMALLTITLE. You can set this attribute so that the title would be displayed in a amaller font and hopefully, all of your text shows up on the screen.
    Regards,
    Anand Mandalika.

  • How to change the Short text of a GUI Status .

    Hi Guys ,
       Can any one guide me on how to change the short text of an already existing GUI Status .
    I have already tried doing these :Opened the GUI Status in change mode and changed the short texts of the Application tool bar ,
                               Menu Bar ,
                               Function Keys ,
    thinking that this will update in the Short text .. but that didnt happen ...
    Below is what I need ...
    Requirement :
    GUI Status : Status_001 .
    Short Text :  New GUI Status .
    Change the Short Text to " Changed GUI Status ' . 
    Regards,
    Ranjita

    Hi Ranjita,
    Do this...
    go to SE80
    Open the program.. open node GUI Status
    Double click on the status you want to change
    go to menu GOTO>ATTRIBUTES>STATUS
    click on continue or simply enter
    Here change the short text and continue or enter
    activate it
    Hope this helps..
    Regards,
    Kinshuk

  • How to change the menu text for menu exit in Version 3.1i

    Hi,
    I am working on an enhancment in CJ02 transaction in 3.1i version. I have implimented menu exit for it , but I am unable to change the menu text for it.Please let me know how to change the menu text for that menu.
    Thanks
    Suman

    Hi Shree,
    Thanks for the response. Please find the Enhancement name here "CNEX0006".
    Thanks
    Suman

  • Hi! How can I change the header text direction to vertical?

    I have many columns with big names, but I need small space for body cells, and I want to check all the table at a view ...  So I want to change the direction of the header texts to "left vertical" or "right vertical".

    There are a couple discussion threads on this already.  Fundamentally it is not a feature that Numbers supports.  There are several work arounds but non of theeem are great:
    Please see this thread:
    https://discussions.apple.com/message/15240103#15240103

  • How to change the header and footer in the Section Breaks Next Page using OpenXML?

    I have a word document file in which I added a Section Break of Next Page, now I want to change the header and footer of that page.
    Scenario of example, I have a doc file which has four pages with headers and footers and added fifth page in the section break next page, I want to change the header and footer of the fifth page only. This is achievable manually by deselecting the Link to Previous
    button in the Word Application but I don't know how to change it using XML?
    My code that adds the new page in the section breaks is:
    class Program
    static void Main(string[] args)
    string path = @"C:\Riyaz\sample.docx";
    string strtxt = "Hello This is done by programmatically";
    OpenAndAddTextToWordDocument(path,strtxt);
    public static void OpenAndAddTextToWordDocument(string filepath, string txt)
    using (DocX document = DocX.Load(@"C:\Riyaz\sample.docx"))
    document.InsertSectionPageBreak();
    Paragraph p1 = document.InsertParagraph();
    p1.Append("This is new section");
    document.Save();
    Please help.

    Here is the sample for your reference:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using DocumentFormat.OpenXml;
    using DocumentFormat.OpenXml.Packaging;
    using DocumentFormat.OpenXml.Wordprocessing;
    namespace WordAddNewFooterHeader
    class Program
    static void Main(string[] args)
    string path = @"E:\Document\TestHeaderandfooter-Copy.docx";
    string strtxt = "OpenXML SDK";
    OpenAndAddTextToWordDocument(path, strtxt);
    public static void OpenAndAddTextToWordDocument(string filepath, string txt)
    // Open a WordprocessingDocument for editing using the filepath.
    WordprocessingDocument wordprocessingDocument = WordprocessingDocument.Open(filepath, true);
    MainDocumentPart part = wordprocessingDocument.MainDocumentPart;
    Body body = part.Document.Body;
    //create a new footer Id=rIdf2
    FooterPart footerPart2 = part.AddNewPart<FooterPart>("rIdf2");
    GenerateFooterPartContent(footerPart2);
    //create a new header Id=rIdh2
    HeaderPart headerPart2 = part.AddNewPart<HeaderPart>("rIdh2");
    GenerateHeaderPartContent(headerPart2);
    //replace the attribute of SectionProperties to add new footer and header
    SectionProperties lxml = body.GetFirstChild<SectionProperties>();
    lxml.GetFirstChild<HeaderReference>().Remove();
    lxml.GetFirstChild<FooterReference>().Remove();
    HeaderReference headerReference1 = new HeaderReference() { Type = HeaderFooterValues.Default, Id = "rIdh2" };
    FooterReference footerReference1 = new FooterReference() { Type = HeaderFooterValues.Default, Id = "rIdf2" };
    lxml.Append(headerReference1);
    lxml.Append(footerReference1);
    //add the correlation of last Paragraph
    OpenXmlElement oxl = body.ChildElements.GetItem(body.ChildElements.Count - 2);
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    SectionProperties sectionProperties1 = new SectionProperties() { RsidR = oxl.GetAttribute("rsidR", oxl.NamespaceUri).Value };
    HeaderReference headerReference2 = new HeaderReference() { Type = HeaderFooterValues.Default, Id = part.GetIdOfPart(part.HeaderParts.FirstOrDefault()) };
    FooterReference footerReference2 = new FooterReference() { Type = HeaderFooterValues.Default, Id = part.GetIdOfPart(part.FooterParts.FirstOrDefault()) };
    PageSize pageSize1 = new PageSize() { Width = (UInt32Value)12240U, Height = (UInt32Value)15840U };
    PageMargin pageMargin1 = new PageMargin() { Top = 1440, Right = (UInt32Value)1440U, Bottom = 1440, Left = (UInt32Value)1440U, Header = (UInt32Value)720U, Footer = (UInt32Value)720U, Gutter = (UInt32Value)0U };
    Columns columns1 = new Columns() { Space = "720" };
    DocGrid docGrid1 = new DocGrid() { LinePitch = 360 };
    sectionProperties1.Append(headerReference2);
    sectionProperties1.Append(footerReference2);
    sectionProperties1.Append(pageSize1);
    sectionProperties1.Append(pageMargin1);
    sectionProperties1.Append(columns1);
    sectionProperties1.Append(docGrid1);
    paragraphProperties1.Append(sectionProperties1);
    oxl.InsertAt<ParagraphProperties>(paragraphProperties1, 0);
    body.InsertBefore<Paragraph>(GenerateParagraph(txt, oxl.GetAttribute("rsidRDefault", oxl.NamespaceUri).Value), body.GetFirstChild<SectionProperties>());
    part.Document.Save();
    wordprocessingDocument.Close();
    //Generate new Paragraph
    public static Paragraph GenerateParagraph(string text, string rsidR)
    Paragraph paragraph1 = new Paragraph() { RsidParagraphAddition = rsidR };
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    Tabs tabs1 = new Tabs();
    TabStop tabStop1 = new TabStop() { Val = TabStopValues.Left, Position = 5583 };
    tabs1.Append(tabStop1);
    paragraphProperties1.Append(tabs1);
    Run run1 = new Run();
    Text text1 = new Text();
    text1.Text = text;
    run1.Append(text1);
    Run run2 = new Run();
    TabChar tabChar1 = new TabChar();
    run2.Append(tabChar1);
    paragraph1.Append(paragraphProperties1);
    paragraph1.Append(run1);
    paragraph1.Append(run2);
    return paragraph1;
    static void GenerateHeaderPartContent(HeaderPart hpart)
    Header header1 = new Header();
    Paragraph paragraph1 = new Paragraph();
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    ParagraphStyleId paragraphStyleId1 = new ParagraphStyleId() { Val = "Header" };
    paragraphProperties1.Append(paragraphStyleId1);
    Run run1 = new Run();
    Text text1 = new Text();
    text1.Text = "";
    run1.Append(text1);
    paragraph1.Append(paragraphProperties1);
    paragraph1.Append(run1);
    header1.Append(paragraph1);
    hpart.Header = header1;
    static void GenerateFooterPartContent(FooterPart fpart)
    Footer footer1 = new Footer();
    Paragraph paragraph1 = new Paragraph();
    ParagraphProperties paragraphProperties1 = new ParagraphProperties();
    ParagraphStyleId paragraphStyleId1 = new ParagraphStyleId() { Val = "Footer" };
    paragraphProperties1.Append(paragraphStyleId1);
    Run run1 = new Run();
    Text text1 = new Text();
    text1.Text = "";
    run1.Append(text1);
    paragraph1.Append(paragraphProperties1);
    paragraph1.Append(run1);
    footer1.Append(paragraph1);
    fpart.Footer = footer1;
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to change the answer text within the review widget of iBooks Author?

    I want to change the answer text which appears after one has finished a test within the review widget of iBooks Author, but I can't figuere out how to do that.
    I also want to sum up the result of a couple of questions as a percentage. How does that work?
    Can anybody help?
    Thanks
    Reinhard

    Notice the answers inside the widget, each with a circle to the left - tap on one of those, which will then appear green with a checkmark in the center to indicate the correct choice.

  • How to retrieve the header texts for a contract

    HI,
      i think we need to use the FM read_text to get the header texts for a contract but dont know how to use the FM like what all the parameters are passed to that to get the header texts of a contract(va43).
    any help is appreciated with points.
    thanks
    prasad

    Hi,
      Pls refer this code,    
        CALL FUNCTION 'READ_TEXT'
                  EXPORTING
                    client                  = sy-mandt
                    id                      = '0001'
                    language                = sy-langu
                    name                    = v_textid
                    object                  = 'KNMT'
                  IMPORTING
                    header                  = t_header
                  TABLES
                    lines                   = t_lines
                  EXCEPTIONS
                    id                      = 1
                    language                = 2
                    name                    = 3
                    not_found               = 4
                    object                  = 5
                    reference_check         = 6
                    wrong_access_to_archive = 7
                    OTHERS                  = 8.
                IF sy-subrc EQ 0.
                  LOOP AT t_lines.
                    CONCATENATE w_arktx t_lines-tdline INTO w_arktx
                                       SEPARATED BY space.
                  ENDLOOP.
                ENDIF.
                IF w_arktx NE space.
                  MOVE w_arktx+1(1583) TO t_lips-arktx.
                ELSEIF w_arktx EQ space.
                  CLEAR w_text_name.
                  CLEAR v_textid.
                  wa_lips-matnr = t_lips-matnr.
                  wa_lips-vkorg = t_likp-vkorg.
                  wa_lips-vtweg = t_lips-vtweg.
                  w_text_name = wa_lips.
                  CLEAR w_arktx.
    Retrieval of Sales Text
                  CALL FUNCTION 'READ_TEXT'
                    EXPORTING
                      client                  = sy-mandt
                      id                      = '0001'
                      language                = sy-langu
                      name                    = w_text_name
                      object                  = 'MVKE'
                    IMPORTING
                      header                  = t_header
                    TABLES
                      lines                   = t_lines
                    EXCEPTIONS
                      id                      = 1
                      language                = 2
                      name                    = 3
                      not_found               = 4
                      object                  = 5
                      reference_check         = 6
                      wrong_access_to_archive = 7
                      OTHERS                  = 8.
                  IF sy-subrc EQ 0.
                    LOOP AT t_lines.
                      CONCATENATE w_arktx t_lines-tdline INTO w_arktx
                                         SEPARATED BY space.
                    ENDLOOP.
                  ENDIF.
                  IF w_arktx NE space.
                    MOVE w_arktx+1(1583) TO t_lips-arktx.
                  ELSE.
    REgards
    srinivas

  • How to change the direction text writen!

    i will write a notepad in pure java. but i will make it like this: item is top to bottom, and line is left to right. This is mongolian. but i dont know how can change the direction of text writen.
    please tell me!

    Here's what you should do:
    suppose your string is "abc" and you want to display that reversed:
    1. reverse the string
    2. find where your start point is (where you're going to draw 'a'
    3. Use FontMetrics to calculate the offset from the start point you need to make to print the string where it should be

Maybe you are looking for