Adding Colums

Hi,
I have a Component with a RichEditable text and I want to display the text in two colums.
I found this example code here:
private function changeColumnCount(newCount:String):void
     if (_textFlow && _textFlow.interactionManager is IEditManager)
     var cf:TextLayoutFormat = new TextLayoutFormat();
         cf.columnCount = newCount;
         IEditManager(_textFlow.interactionManager).applyContainerFormat(cf);
         _textFlow.interactionManager.setFocus();
When I try to apply it to my RichEditableText.textFlow nothing happens.
Even the if condition is not true?
I tried it like this:
private function changeColumnCount(newCount:String):void
     if (myEditor.textFlow && myEditor.textFlow.interactionManager is IEditManager)
          var cf:TextLayoutFormat = new TextLayoutFormat();
          cf.columnCount = newCount;
          IEditManager(_editor.textFlow.interactionManager).applyContainerFormat(cf);
          myEditor.textFlow.interactionManager.setFocus();
What do I miss?
Is there somewhere a simple Flex4 example for a 2 Colum Rich Editable Text?

Hello Alan,
that"s funny, I havent even looked it up since I thought way to complicated since I knew that there is a colum feature in the TLF.
But its even more simple than setting a style:
<s:RichEditableText id="_editor"
                 columnCount="2"/>
Thank you very much !
Marc

Similar Messages

  • BI-IP - Bex Analyser - Adding colums / rows in workbooks

    Hi experts,
    In BI-IP (BW 7) in Bex Analyser we are facing the following problem:
    In the workbook if the user inserts a column nearby the input ready columns and inputs values at the time of transfer / save values, the system automatically copies these values to the next input column. The same if they insert rows and add values, at the time of transfer values the system deletes the row but adds the values in the above row.
    Is it how Bex Analyser (workbook) works or we are having a problem?
    Thanks and regards,
    MA
    Edited by: Maria Almeida on Apr 30, 2008 1:16 AM
    Edited by: Maria Almeida on Apr 30, 2008 1:17 AM

    Hi Maria,
    Please do not take it offesive.
    The issue you guys are encountering is due to lack of Training to Users.
    Planning is an intelligent activity. Planners are expected to do their home work before they embark on planning and layouts help capturing values in an orderly manner.
    It would be wonderful if you restrict the access to queries, else train the users on the impact and relevance.
    As you are aware adding a row is possible in WAD.
    Regards
    Srinivas

  • Adding colums in S_ALR_87012357

    Hi,
    We have requirement to add some new colums in the report as S_ALR_87012357 in the output.
    I did try the BADI as FI_TAX_BADI_014, but that did not help.
    I need to add the m/l number in the output for the Document.
    Could you please help me in this case.
    Regards,
    Sandeep Garg

    Hi,
    Try this 2 BADI to insert your fields tn that program.
    FI_TAX_BADI_014
    FI_TAX_BADI_011
    Regards,
    Goutam

  • Adding Colume in the Table and display result in it.

    Hi Guru's ,
    I have a requirement to add column in existing Table. and Display the result after calculation.
    Thanks,
    Rutu

    Hi,
    Please used this code snippet for reference:
    OAApplicationModule am = (OAApplicationModule)pageContext.getApplicationModule(webBean);
    OAViewObject vo = (OAViewObject)am.findViewObject("<VO Name>"); // Give VO Name attached to the Table Region.
    if (vo != null)
    vo.addDynamicAttribute("<Att_Name>"); //Adding ViewAttribute to VO
    vo.reset();
    vo.next();
    //Do calculation that you want
    //Setting the calculated value in the created VO Attribute
    vo.getCurrentRow().setAttribute("<Att_Name>", <Value to assign>);
    I hope this will gives you a proper Help.
    Please feel free to ask if any more Question
    Thanks,
    Shrikant

  • Reg : Adding colums in MP01 tcode

    Good Morning Experts,
    I want to add a column (Zfield) to the Tcode MP01, for this I am using Exit as AMPL0001.
    whenever I double click on the FMexit or Screen exit it is asking for Access key.
    can anyone suggest me what is the problem and how to achive the above functionality.
    Regards
    valluru

    Hi
    Do this steps:
    1. Create a project with tcode CMOD.
    2. Set this enhancement (AMPL0001)
    3. Save, activate it.
    4. Create the ZX* includes in the FM EXIT_* in your own packages.
    5. Activate this ZX* includes.
    6. Set a break-point and test if the tcode trigger this enhancement. You will know it if tcode stop in the break-point.
    I hope this helps you
    Regards
    Eduardo
    PD: I forgot, use a user-ID with a developer key.
    Edited by: E_Hinojosa on Aug 8, 2011 8:49 AM

  • HOW TO LOAD R/3 DATA INTO SAP BI USING PROCESS CHAINS?

    Hi,
    Can we load R/3 data into BI using process chains?... I loaded data from R/3 into Infocube using generic extraction using view... took 2 tables EBKN and EBAN and ceated view.
    In PSA I can find all the 2388 records but when I load into datatarget in transferred tab there are 2388 records but in added colum i could find only 2096.....
    I deleted the request and want to load through process chains....... but  how to do ?????? without flat file ...can we laod using process chains?
    I appreciate any inputs.......
    Regards,
    Prasanthi.

    did you even bother looking at the links in my previous posts???
    read the docs...try yourself...if you encounter specific issues, you can post them on the forum...
    if you're really expecting somebody to post a step by step for process chain, i think you can wait a long, long time...

  • New columns and tables

    Hello All,
    I need to know the new created tables on my database and the added columns:
    I used the below query so i can get the NEW created tables
    select * from dba_objects d where to_date(d.created,'dd/mm/yyyy') = to_Date(sysdate-1,'dd/mm/yyyy')  and d.object_type = 'TABLE'and owner = 'MyOwner';
    Is there any way to know what are the new added columns to a table, in the below i can know the last DDL, but what i need is to know the added colums
    select * from dba_objects d where to_date(d.Last_Ddl_Time,'dd/mm/yyyy') = to_Date(sysdate -1 ,'dd/mm/yyyy') and owner = 'MyOwner';
    Thanks in Advance.

    consider:
    SQL> alter system set audit_trail='db_extended' scope=spfile;
    System altered.
    SQL> startup force
    ORACLE instance started.
    Total System Global Area  431038464 bytes
    Fixed Size                  1375088 bytes
    Variable Size             301991056 bytes
    Database Buffers          121634816 bytes
    Redo Buffers                6037504 bytes
    Database mounted.
    Database opened.
    SQL> audit alter table;
    Audit succeeded.
    SQL> conn ami/ami
    Connected.
    SQL> create table a as select * from dual;
    Table created.
    SQL> alter table a add b date;
    Table altered.
    SQL> select sql_text  from dba_audit_trail where sql_text is not null;
    SQL_TEXT
    alter table a add b dateAmiel Davis

  • Defining resource allocation

    Standard use of the tool would be when it's not clear exactly who is going to be doing a piece of work, use a role allocation - when it IS clear, use the specific resource.
    Is there any way of defining resource allocations a little further to say - 'we think it's going to be Jim, but it's not been agreed yet'
    Resource managers will be using the Web interface for P6 release 6.1 - which AFAIK is not customisable in terms of adding colums to the resource views that are avaialble, so we can't create a user defined code there.
    the problem is quite simple - people not following process and going over resource manager's heads to source their own resource. Presumably we could turn off the ability to assign resources to activiites, but i'd be interested in other options / suggestions, however simple or clever.
    David

    glad i could help. just to be on the safe side.. look up resource security in the application help (desktop/ web clients) for details. quite different from user security profiles for global & project data.
    basicly, resource security restricts user access to a resource node (such as a dept, team, etc) and all resources (individuals) underneath for direct assignment. it is off by default for new users. if you so choose, by activating it (the checkbox) for any/all users without assigning them access to any resource node, they can no longer assign resources onto their project activities (just roles).
    if user discipline is a serious issue, you may want to re-check global profiles and deny certain privileges on global data as well.
    best of luck
    btw, you should really consider upgrading at least to P6v7. i remember even 6.2.1 had a few nice new features and bugs fixed compared to 6.1. not to mention P6v7 (with or without SP1 or 2). as you probably know current version is now 8.1. this is even more relevant for you as web-based collaboration features have picked up pace after 6.1 and you seem to need and use them.
    Edited by: Tibi on Jun 2, 2011 6:13 PM

  • Adding a new colum in SBWP.

    Hi All,
    I have a requirement of adding one more colum to the inbox of
    the users.The workitems are directed to the users via workflow,
    In that I need to add one more colum there,so that the users can see one more detail.Can anyone please suggest and help me hw to go for that....
    Thanks
    Raju
    Edited by: Raju Nair on Jun 29, 2008 12:05 PM

    Hi Raju,
                 U can add a dynamic column in ur business Work Place it can be done in transaction SWL1. But at the max u can add six such columns.
    Can u be more specific what to do so that i can giver u a clear solution wether to add a new column or change settings in SBWP and customize an existing business work place.
    <inappropriate content removed by moderator>
    Thanks & Regards.
    Dheepak
    Edited by: Mike Pokraka on Jun 30, 2008 1:23 PM

  • Report Structure based CKF percentage total colume Error

    Dear Guru's
    In Report Created structure in Rows structure created formulas for sub total, CKF using in colume for finding percentage on sale,
    where formula used in structure, percentage also adding instead of average. Applied exception aggregation for plant but no result
    Example scenario : Zone1 created with selection of plant, division and region.same as a UCWL and internal total Zone1+UCWL used formula
    percentage CKF working as addition. Red colour highlighted are wrong totals
    Month
    Target
    Prorata
    Target
    Actuals
    Today
    Actual
    Todate
    %Age
    Achiev
    Target
    PPC % age
    PPC %Age
    Actual
    Rajasthan Zone1
    45,000
    36,000
    1,276
    27,473
    76
    67
    54
    UCWL
    25,000
    20,000
    952
    18,183
    91
    100
    76
    ZONE1+UCWL Total
    70,000
    56,000
    2,228
    45,656
    167
    167
    129
    Rajasthan Zone 2
    60,000
    48,000
    1,722
    34,746
    72
    65
    10
    Rajasthan Total
    1,30,000
    1,04,000
    3,950
    80,403
    240
    232
    140
    Gujarat-Sirohi
    1,12,000
    89,600
    2,555
    85,877
    96
    42
    Gujarat-Kalol
    60,000
    48,000
    1,644
    34,945
    73
    75
    30
    Gujarat- P Pur
    8,000
    6,400
    247
    6,035
    94
    100
    Gujarat Total
    1,80,000
    1,44,000
    4,447
    1,26,857
    263
    217
    30
    Treat this most urgent, report is pending due to percentage total.
    Regards
    ramesh

    I applied this:
    If([Process Category] InList("Process01") And IsNull([Date]);[Percentage];Max(Date)))
    [Percentage] = (Count([Date])/Count([Operation]))*100.
    but, this is not becoming true - even when Operation has one Date
    Showing result as:
    List#,Process01,Process02
    100, 11/12/2010, 11/15/2010
    But result should be
    100,50%,11/15/2010
    Can anyone help me achieve the right result!
    Thanks in advance.

  • No dates in Last Modified Date or Added Date

    Hello.
    Due to some issues with our servers i'm unable to make any SR's so i hope to recive some answers here instead while that issue gets resolved.
    When looking in the colums "Added Date" and "Last Modified Date" certain activites have no dates there. When attempting to filter all the activities with a filter "Added Date Equals 'Blank' " ie all aktivites who do not have a date in Added Date, the results are 0 activites. I interpret this as the fields are not empty but for some reason the information is not displayed.

    781070 wrote:
    Hello.
    Due to some issues with our servers i'm unable to make any SR's so i hope to recive some answers here instead while that issue gets resolved.
    When looking in the colums "Added Date" and "Last Modified Date" certain activites have no dates there. When attempting to filter all the activities with a filter "Added Date Equals 'Blank' " ie all aktivites who do not have a date in Added Date, the results are 0 activites. I interpret this as the fields are not empty but for some reason the information is not displayed.As far back as I can remember, filtering by either of those fields has never worked.
    There are a number of reasons why the last modified or added date could be blank.

  • Adding a new column to af:query on af:table

    Hi,
    I have an ADF table added to a jspx page as below:
    <af:table value="#{bindings.RuleLibraryVO1.collectionModel}" var="row"
    rows="#{bindings.RuleLibraryVO1.rangeSize}"
    emptyText="#{bindings.RuleLibraryVO1.viewable ? coregccomplianceuiBundle.MSG_NO_DATA_DISPLAY : coregccomplianceuiBundle.MSG_ACCESS_DENIED}"
    fetchSize="#{bindings.RuleLibraryVO1.rangeSize}"
    rowBandingInterval="25" rowSelection="multiple" id="ruleLib"
    binding="#{viewScope.rule_librarybean.rulet}"
    columnStretching="column:c4"
    selectionListener="#{bindings.RuleLibraryVO1.collectionModel.makeCurrent}"
    summary="#{coregccomplianceuiBundle.RULE_LIB_SUMMARY}"
    disableColumnReordering="true">
    <f:facet name="contextMenu">
    <af:popup id="Ctablemenup" contentDelivery="immediate">
    <af:menu id="_menuActionp">
    <af:group id="g5p">
    <af:commandMenuItem ......
    </af:commandMenuItem>
    </af:group>
    </af:menu>
    </af:popup>
    </f:facet>
    <af:column id="c6" width="10" rowHeader="true"/>
    <af:column sortProperty="IsSystem" sortable="true"
    headerText="#{coregccomplianceuiBundle.BLANKTEXT}" id="c13"
    rowHeader="unstyled" width="16">
    <af:switcher id="sw1" facetName="#{row.IsSystem}" defaultFacet="1">
    <f:facet name="1">
    <af:panelGroupLayout id="pg1" layout="horizontal">
    <af:image source="/images/lock_ena.png" id="cil1"
    shortDesc="#{coregccomplianceuiBundle.SYSTEM_DEFINED_COMPLIANCE_RULE}"/>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="0">
    <af:panelGroupLayout id="pg1-1" layout="horizontal">
    <af:image source="/images/blank.gif" id="ot11"
    shortDesc="#{coregccomplianceuiBundle.USER_DEFINED_COMPLIANCE_RULE}"/>
    <!--
    <af:outputText value="#{coregccomplianceuiBundle.BLANKTEXT}" id="ot11"
    shortDesc="#{coregccomplianceuiBundle.USER_DEFINED_COMPLIANCE_RULE}"/>
    -->
    </af:panelGroupLayout>
    </f:facet>
    </af:switcher>
    </af:column>
    <af:column sortProperty="RuleDname" sortable="true"
    headerText="#{bindings.RuleLibraryVO1.hints.RuleDname.label}"
    id="c3" width="200" rowHeader="unstyled">
    <af:commandLink action="#{viewScope.rule_librarybean.handleDetails}"
    text="#{row.RuleDname}" id="ot1l"/>
    <!--
    <af:outputText value="#{row.RuleDname}" id="ot1"/>
    -->
    </af:column>
    <af:column sortProperty="TargetTypeDisplayName" sortable="true"
    headerText="#{bindings.RuleLibraryVO1.hints.TargetTypeDisplayName.label}"
    id="c2" width="150">
    <af:outputText value="#{row.TargetTypeDisplayName}" id="soc1"/>
    </af:column>
    <af:column sortProperty="Description" sortable="true"
    headerText="#{bindings.RuleLibraryVO1.hints.Description.label}"
    id="c4" noWrap="false">
    <af:outputText value="#{row.Description}" id="ot3"/>
    </af:column>
    <af:column sortProperty="RuleTypeUI" sortable="true"
    headerText="#{bindings.RuleLibraryVO1.hints.RuleTypeUI.label}"
    id="c1" width="150">
    <af:outputText value="#{row.RuleTypeUI}" id="ot2"/>
    </af:column>
    <af:column sortProperty="LifeCyleStateUI" sortable="true"
    headerText="#{bindings.RuleLibraryVO1.hints.LifeCyleStateUI.label}"
    id="c5" width="150">
    <af:outputText value="#{row.LifeCyleStateUI}" id="ot4"/>
    </af:column>
    <af:column headerText="#{bindings.RuleLibraryVO1.hints.Keywords.label}"
    id="c7" sortProperty="Keywords" sortable="true"
    noWrap="false">
    <af:inputText value="#{row.Keywords}" id="ot5" label="#{coregccomplianceuiBundle.BLANKTEXT}"
    readOnly="true"/>
    </af:column>
    <af:column headerText="#{bindings.RuleLibraryVO1.hints.Author.label}"
    id="c8" sortProperty="Author" sortable="true">
    <af:outputText value="#{row.Author}" id="ot6"/>
    </af:column>
    <af:column headerText="#{bindings.RuleLibraryVO1.hints.SeverityUI.label}"
    id="c9" visible="false">
    <af:outputText value="#{row.SeverityUI}" id="ot7"/>
    </af:column>
    <af:column headerText="#{bindings.RuleLibraryVO1.hints.LastUpdatedBy.label}"
    id="c10" visible="false">
    <af:outputText value="#{row.LastUpdatedBy}" id="ot8"/>
    </af:column>
    <af:column headerText="#{bindings.RuleLibraryVO1.hints.LastUpdatedDate.label}"
    id="c11" sortProperty="LastUpdatedDate" sortable="true">
    <af:outputText value="#{row.LastUpdatedDate}" id="ot9">
    <af:convertDateTime type="both" dateStyle="medium"
    timeStyle="full"/>
    </af:outputText>
    </af:column>
    <af:column headerText="#{bindings.RuleLibraryVO1.hints.Owner.label}"
    id="c12" visible="false">
    <af:outputText value="#{row.Owner}" id="ot10"/>
    </af:column>
    </af:table>
    I also have a search option added to the page as:
    <af:query id="qryId2"
    headerText="#{coregccomplianceuiBundle.COMPLIANCE_SEARCH}"
    disclosed="false"
    value="#{bindings.RuleLibraryVOCriteriaQuery.queryDescriptor}"
    model="#{bindings.RuleLibraryVOCriteriaQuery.queryModel}"
    queryListener="#{bindings.RuleLibraryVOCriteriaQuery.processQuery}"
    queryOperationListener="#{bindings.RuleLibraryVOCriteriaQuery.processQueryOperation}"
    resultComponentId="::pc1:ruleLib" rows="3" maxColumns="2"
    saveQueryMode="hidden"/>
    The VO Criteria that is used by this search query is having 5 columns which are searchable now i want to add one more column which can be searched.
    I have added the colum to VO Criteria query
    But then also the 6th search column is not visible in UI.
    Can anyone suggest what am i missing???

    1) Check if the corresponding VO attribute is defined as "Queryable"
    2) Check if the Rendered Mode of the corresponding criterion of the VO Criteria is "All" (the Rendered Mode is defined in the "Hints" page of the VO Criteria dialog box, select the criterion in order to see its Rendered Mode)
    Dimitar

  • Adding a column in the MSS Approval view

    What are the options for adding a column in the MSS approval view (CATS regular) ?

    there are lot of colums available in cats customisation for this
    Please check
    In the IMG (transaction SPRO), go to
    - SAP Customizing Implementation Guide
      - Cross-Application Components
        - Time Sheet
          - Specific Setting for CATS regular
            - CATS regular
              - Approve Working Time
                - Define Field Selection for Individual Approval View
                - Define Field Selection for Detail View
    Here you can assign lot of columns to your profile
    which is easily customisable

  • ADF Business Components from Tables - adding more tables

    Hi.
    I have already created a ADF Business Components from Tables and added tables from the Oracle database.
    My question is:
    Is it possible to add more tables to the same Business Components model?
    Not as a new Component Table, but with the same tables so i can use the same relations and mappings?

    Hi and thanks! Yes, I am talking about recreating a the same View Object that i already has created. In my first model i had the tables Name and Address. I want to add a new table called zipcode to the same View som i can choose colums from the zipcode-table in the same View as Name and Address.
    I'm not shure what you mean by Data Model tab? Can you spesify?
    Thanks!

  • Adding a new Cost Center code to a 82ax Report painter

    Hi experts,
    I am asked about adding Cost center code to the left of a 82a Report painter(Where the Pepe element code and description is) without modifying the actual length of that colum....
    Is this possible??
    Thank you very much.
    Artur.

    Ok, no reply for this

Maybe you are looking for

  • Local variable fail when using SIT

    Dear all, I am using SIT (Simulink Interface Toolkit) to obtain data generated by the model of  Simulink.  I need to use the local variable of the indicator to get the data out. The interface with the mappings seems to work fine. The problemn is that

  • Error: Proxy list must not be empty

    Hello All, I use a apex listener 2.0.5 version and glass fish webserver on windows server 2008. Did any body had the above error, while connecting through apex listener by providing username: listeneradmin credentials? One of my teamates already conn

  • Developing a code for KM

    Hi All, I am a newbee in Portal programming. The client has given me a java program under KM to develop using PDK. I have installed the Eclipse and its plugin and also installed the PDK. Able to run some small sample java reports. However I am not ab

  • How can I customise a default delete action

    Dear's In Apex, I have report with edit button. By cliking on edit I can see the edit window with a delete button. I want to restrict this with some checks . The delete button should be displayed always. I want to utilise the default delete action, I

  • Add WebDynpro views to existing J2EE app

    I am having a hard time understanding how i can add webdynpro views to my existing war file.  I use Spring, and not EJB's.  I would prefer to have the deployment coupled such that the WebDynpro is within the same classloader as my existing servlets(s