Af: column Disabled ?

Hi,
I want to disable the selection of a column when I have one attribute of my object is set to null.
How can I do this ?
I've been seach in the af:column component but I didn't found some attribute like "disabled" or "readOnly" .
Thanks, and sorry for the bad english.

Shay,
My table is generated from a list of objects. One of the attributes of this object is a boolean field. If the boolean field is true, then I couldn't select this item on the table but the items that are false can be selected.
ps: This rule was defined by the user.
Understand ? :)
Edited by: Felipe Jo on 21/07/2010 07:52

Similar Messages

  • Excisable Column Disabled

    Hi Experts,
    Previously i was using SAP B1 2005B PL40. But now i have upgraded to SAP B1 2007B PL10.
    Now in 2007 B PL10 i am facing a problem. In the SO, Delivery & A/R Invoice template the Excisable Column is Inactive.
    Even in the form setting i have checked , it is showing the Visible column as enable but the Active column is disable.
    Is there any idea of SAP behind this change. If not then guide me how to make the Excisable Columns as Active in the SO, Delivery & A/R Invoice template.
    Thanks and Regards,
    S Manikandan

    Hi Mani,
    Check this link
    Excisable Column Disabled
    Close th thread , if issue solved
    Regards
    Jambulingam.P
    Edited by: Jambulingam P on Jun 18, 2009 6:56 AM

  • Unit prie column disabled while doing miscellaneous issue.

    Hi,
    I'm doing miscellaneous issue on an item. but while doing the entry, the unit price column is disabled from entering the value. What could have gone wrong? But for some items the field was enabled to enter the unit price value. Both the items are having same templete and costing is also same(Average).
    How can the unit price column can be enabled for the item?
    Thank you
    Regards
    BKR.

    Hi,
    To solve this you must update your studio. In lower studio versions (PlanViz) does not allow "unknown" XML tags sent by higher version servers. A fix for this issue was made so that PlanViz parser can simply skip unknown tags.
    Please go to version 74, if possible.
    Regards,
    Michael

  • Checkbox: making it checked depending on column & disabling it at same time

    Hi,
    In my report region, I have a column with checkbox. The requirement is : depending on the value of a column, it should be checked or unchecked. And whenever it is checked, it should get disabled. Means the user can see that in a particular row the checkbox is checked but he cannot uncheck it.
    I have used the following query. Throw it I can see that particular checkbox is checked but its not diabled.
    select MBOI_MASTER_ID as MBOI_MASTER_ID,
    SOURCE_SYSTEM as SOURCE_SYSTEM,
    apex_item.checkbox(1,MBOI_MASTER_ID,
    CASE
    when AFFIRMATION_STATUS ='Affirmed'
    THEN 'checked=checked,disabled=disabled;'
    ELSE NULL
    END
    *) "AFFIRM_CheckBox"*
    from MAIN_INTERFACE
    This query is making the checkbox as checked but not diabling.
    If i change the query like : when AFFIRMATION_STATUS ='Affirmed'
    THEN 'disabled=disabled,checked=checked;'
    ELSE NULL
    Then its disabling it but doesnot make it checked.
    Pls give some idea

    I solved this issue by following code:
    apex_item.checkbox(1,MAIN_INTERFACE.MBOI_MASTER_ID,
    CASE
    WHEN MAIN_INTERFACE.AFFIRMATION_STATUS ='Affirmed'
    THEN 'checked=checked disabled=disabled;'
    ELSE NULL
    END
    ) "AFFIRM_CheckBox"
    Edited by: Chandra Bhanu on May 31, 2013 7:43 AM
    Edited by: Chandra Bhanu on May 31, 2013 7:44 AM

  • JTable Column Disabling

    i have a JTable with 2 columns, what i want is to disable one column while allowing editing in the other column. Now how can i disbale my fisrt column ?
    Pls help...

    Override the isCellEditable(..) method. Something like:
    return column != 0;

  • Root column disabled while Assigning XSD- In Syndicator

    Hi,
    I am not able to assign the XSD against the Remote system in the Syndicator.
    While assigning the XSD through
                  Syndicator==> File==>
                                                    Destination Properties
    While assigning the XSD against the Remotesystem,Root Textbox is disabled and OK button alsio disabled...
    Please provide your suggestions
    Best Regards
    Devaraj PK

    Hi Devraj,
    Root column dissabled when your XSD is not proper.
    In Syndicator go to file->Destination Properties
    Here select XML Schema if you have made an entry of an XSD in XML Schema table in Console or you can select XML Schema File if you want to pick your XSD from a particular location.Now if the XSD is proper then only the Root Column will be enabled which contains the root node available in
    XSD so please check for the Same.
    Reward if Helpful,
    Regards,
    Vinay Yadav

  • Get column Disable

    Dear All,
    I have created table control field wa_itmdtls-ebeln with input field posible. when user is entring single po no and he press enter then below wa_itmdtls-ebeln column gets disable. I want User can enter multiple PO number and pressing multiple time enter.
    I have tried with
        READ TABLE tabl_ctrl-cols INTO wa_col INDEX 4.
        wa_col-screen-input = 1.
        MODIFY tabl_ctrl-cols FROM wa_col INDEX 4.
    under PROCESS AFTER INPUT,  MODULE user_command_9010.
    Please provide appropriate solution.
    Thanks
    Regards,

    Hi try this way...
    PROCESS BEFORE OUTPUT.
    * Module screen GUI-Screen&Status and Screen Logic
      MODULE status_1020.
    * Table control for OUTPUT
      LOOP AT <table name>
           WITH CONTROL <table control>.
        MODULE screen_modify.
      ENDLOOP.
    MODULE SCREEN_MODIFY OUTPUT.
    * Table control reading values from input screen & displaying on screen
    if <tablecontro>-current_line = 4. 
    READ TABLE tabl_ctrl-cols INTO wa_col INDEX 4.
    IF sy-subrc = 0.
        LOOP AT SCREEN.
          IF screen-name = 'WA_ZCXREF_CLASSES-ATWRT'.
            screen-input = 0.
          ENDIF.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    endif.
    ENDMODULE.
    Prabhudas

  • APEX FORM columns disable/enable?

    Hello there,
    Actually i have an application with two forms (means two screen for same application) based on views including 82 fields and everything working perfect whatever i wanted but I have a question?
    in my application only few (say 8 field ) are pre-populated and rest are them need to populated but one field will decide which fields are need to be updated. for example field called CODE will accept value between 11 and 15 and if it is 11 and 12 then populate only Controlled table_ via views and if it is between 13 and 15 then Uncontrolled table_ will be updated. So I want if code is 11 and 12 then all the uncontrolled fields should be disable and vice versa. so can anyone help me for my query?
    Thanks in advanced.
    Iki
    Edited by: Irha10 on 24-Sep-2010 16:40

    use javascript onchange event
    check Denes's app
    http://htmldb.oracle.com/pls/otn/f?p=31517:18:4069744524431986::NO:::
    Edited by: Binepal on Sep 29, 2010 10:30 PM

  • Disable a Column in a JTable

    hiya,
    i have JTable, and with a button click, i want to make one of the Columns DISABLE not editable or not.
    can i do that?
    tx

    read man,
    i read the Tutorial more than 5 times. and i no what i ask.
    if u wanna disable JList, this work with this code
    jList1.setEnabeld(false);and to do that with the JTable??? u can do this also
    jTable1.setEnabeld(false);but i want to effect only one column.
    how to do that?
    this Q is not answer in the Tutorial i am sure 100%
    i think u have no idea what u talkin about, do u DrClap??
    the right Q is, DiD you read teh Tutorial?

  • Planned Activity column in overview screen of KP26 is disabled

    Hi,
    I am getting Planned Activity column disabled in the overview screen of KP26. So, unable to enter plan data.
    Please help.
    Thanks
    Manish

    Hi Manish,
    Please check the Activity Type Category. Probably It would be 2.
    If it is 2 then change the same to 1 and try KP26.  The other categories are as follows:
    1     Manual entry, manual allocation
    2     Indirect determination, indirect allocation
    3     Manual entry, indirect allocation
    4     Manual entry, no allocation
    Bye
    Robin

  • ADF DI : Need to disable edit on a column in excel spread sheet

    Hi,
    I need to make a column disable for edit in ADF table in excel.I tried making read only property to true but , user can still edit that column but will get update failed error.I want my column to be completely disabled even for editing.Is there any way to disable edit on the column and makes it grey out??
    Thanks in Advance,
    Alekhya

    I have enabled worksheet protection, with only the Column i need to be
    made read only. Accodring to the ADF DI Dev guide, "The end user can insert a
    full row or column. However, once inserted, they cannot be deleted.". But
    even full row insert shows up disabled. Its not allowing me to insert a new row at all.

  • Preserving leading spaces in a report column.

    Hi
    I have a report region derived from a sql query. One of the columns in the database can contain leading spaces. However, my report column is not displaying the leading spaces.
    These are the things I've tried:
    On the Column Attributes page, under Column Formatting, I have entered CSS Class = "code".
    Also on the Column Attributes page, under Tabular Form Element, I have selected Display As = Text Field and I have entered Element Attributes = class="code" READONLY.
    However, the report does not look nice. The column looks too different from the other columns (disabled text field vs standard report columns). Can anyone suggest a better fix for this problem?
    Thanks.
    Jo

    Here's 3 ways to do it:
    http://htmldb.oracle.com/pls/otn/f?p=25262:1
    CSS WS - using the CSS white-space: pre property (here in the Column Formatting/CSS Style property, or it could be done with a class and an external style sheet); doesn't work in Win IE 6 :-(
    HTML Exp - wrapped the column in a &lt;pre&gt; tag in the report SQL [doing this in the Column Formatting/HTML Expression property didn't work - it stripped the spaces. Anyone know if this expected?]. Also had to add a .t4data pre { display: inline; } style rule to the page to remove unwanted default formatting.
    &amp;nbsp; - replaced the spaces in the column in the report SQL with HTML non-breaking spaces: replace(..., ' ', '&amp;nbsp;')
    Given the Win IE restriction on the CSS approach, the last one looks like the simplest solution.

  • Bug : Datatable with disabled checkboxes

    Hello,
    I was able to implement a datatable with modify, delete links for each row.
    The following code works:
    <h:data_table id="DataTable" value="#{DataScreen.records}" var="record">
      <h:column>
         <f:facet name="header"><h:output_text value=" " /></f:facet>
         <h:command_link action="#{DataScreen.modifyAction}">
           <h:output_text value="#{DataScreen.modifyLabel" />
         </h:command_link>
         <f:facet name="footer"><h:output_text value=" " /></f:facet>
      </h:column>
      <h:column>
         <f:facet name="header"><h:output_text value=" " /></f:facet>
         <h:command_link action="#{DataScreen.deleteAction}">
           <h:output_text value="#{DataScreen.deleteLabel" />
         </h:command_link>
         <f:facet name="footer"><h:output_text value=" " /></f:facet>
      </h:column>
      <h:column>
         <f:facet name="header"><h:output_text value="Column1_Header" /></f:facet>
         <h:output_text value="#{DataScreen.column1}" />
         <f:facet name="footer"><h:output_text value=" " /></f:facet>
      </h:column>
      <h:column>
         <f:facet name="header"><h:output_text value="Column2_Header" /></f:facet>
         <h:output_text value="#{DataScreen.column2}" />
         <f:facet name="footer"><h:output_text value=" " /></f:facet>
      </h:column>
    </h:data_table>But, I added a third column of type boolean, which is displayed as a disabled checkbox.
    The table is displayed properly in the browser. But, when I click on the modify, delete links,
    the corresponding action method (DataScreen.modifyAction() or DataScreen.deleteAction())
    is not called.
    <h:data_table id="DataTable" value="#{DataScreen.records}" var="record">
      <h:column>
         <f:facet name="header"><h:output_text value=" " /></f:facet>
         <h:command_link action="#{DataScreen.modifyAction}">
           <h:output_text value="#{DataScreen.modifyLabel" />
         </h:command_link>
         <f:facet name="footer"><h:output_text value=" " /></f:facet>
      </h:column>
      <h:column>
         <f:facet name="header"><h:output_text value=" " /></f:facet>
         <h:command_link action="#{DataScreen.deleteAction}">
           <h:output_text value="#{DataScreen.deleteLabel" />
         </h:command_link>
         <f:facet name="footer"><h:output_text value=" " /></f:facet>
      </h:column>
      <h:column>
         <f:facet name="header"><h:output_text value="Column1_Header" /></f:facet>
         <h:output_text value="#{DataScreen.column1}" />
         <f:facet name="footer"><h:output_text value=" " /></f:facet>
      </h:column>
      <h:column>
         <f:facet name="header"><h:output_text value="Column2_Header" /></f:facet>
         <h:output_text value="#{DataScreen.column2}" />
         <f:facet name="footer"><h:output_text value=" " /></f:facet>
      </h:column>
      <h:column>
         <f:facet name="header"><h:output_text value="Column3_Header" /></f:facet>
         <h:selectboolean_checkbox value="#{DataScreen.column3}" disabled="true" />
         <f:facet name="footer"><h:output_text value=" " /></f:facet>
      </h:column>
    </h:data_table>I would be glad to know if there is any workaround.
    Thanks,
    Ajay

    I forgot to mention that there is no error message in the log file. The same page is displayed again
    after clicking on the Modify or Delete Link.
    If I remove the third column (disabled checkbox), the modify and delete links work fine.

  • Enable/disable rows of Table control

    Hi,
    I am showing n number of records in a table control. These number of records may wary depending on a X condition.
    I have also created a button with which user can create a new record from the same tabkle control and t/f back that new value in the itab.
    Now, when table control is displayed it WILL have certain records in it. I want those records to be in the INPUT = '0' state and rest of the table control lines should  be INPUT = '1'.
    I am trying....
    PROCESS BEFORE OUTPUT.
      MODULE status_0101.
      LOOP AT ts_store WITH CONTROL tabc CURSOR tabc-current_line.
      module change_scr_attr.
      ENDLOOP.
    module change_scr_attr output.
      CASE ok_code.
        WHEN 'DISP'.
       Displays all the records in INPUT = '0' state.
          LOOP AT tabc-cols INTO cols WHERE index GT 0.
            cols-screen-input = '0'.
            MODIFY tabc-cols FROM cols INDEX sy-tabix.
          ENDLOOP.
        WHEN 'CREA'.
         if  *     * disable the CDC Column
        * disable Delete shortcut.
         REFRESH ts_store.
         LOOP AT tabc-cols INTO cols WHERE index GT 0.
             IF  ts_store-zstcdc_store IS INITIAL.
             cols-screen-input = '1'.
           ELSE.
             cols-screen-input = '0'.
           ENDIF.
           screen-active = '1'.
           MODIFY tabc-cols FROM cols INDEX sy-tabix.
         ENDLOOP.
         LOOP AT tabc-cols INTO cols WHERE index GT 0.
           IF  cols-screen-input = '0'.
             cols-screen-input = '1'.
           ELSEIF  cols-screen-input = '1'.
             cols-screen-input = '0'.
           ENDIF.
           MODIFY tabc-cols FROM cols INDEX sy-tabix.
         ENDLOOP.
         LOOP AT SCREEN.
           IF ts_store-zstcdc_store IS INITIAL.
             screen-input = '1'.
           ELSE.
             screen-input = '0'.
           ENDIF.
           MODIFY SCREEN.
         ENDLOOP.
      ENDCASE.
    endmodule.                 " change_scr_attr  OUTPUT
    I have waded thru few threads but I dont get it.
    Plz suggest!!
    ~Sid
    "Max points are assured"

    Hi....
       Actually.... our table control.. is by defalut make disable the empty rows... which are not having data...
    because... the process of dispaly table control like this...
    1.Fetching the records from database into one itab...
    2.Capturing the itab lines with following sytax...in the PBO module..
       > MODULE <TC>_CHANGE_TC_ATTR OUTPUT.
       > DESCRIBE TABLE ITAB LINES <TC>-lines.
       > ENDMODULE.  
    with this you are sizing the table control as for itab size...
    3. Filling or Attaching the itab with Table control...
    > LOOP AT   ITAB
    >      WITH CONTROL TC
    >      CURSOR TC-CURRENT_LINE.
    >   MODULE TC_GET_LINES.
    >  ENDLOOP.
    So in above module we can fill data and can disable and enable rows of certain condition...
    So the condition aplleid rows should be disable and remaining enable.. and important thing is empty rows should be defaultly disabled mode...
    But.. Here you want to appear empty rows should be in enable mode...
    For that in second step.... modify the code like this....
       > MODULE <TC>_CHANGE_TC_ATTR OUTPUT.
       > DESCRIBE TABLE ITAB LINES <TC>-lines.
       >  <TC>-lines = <TC>-lines + 4.
       > ENDMODULE.  
    So with this you can get 4 empty and enable lines...
    and if u are not having 2nd step in ur coding..  just write it now.. it will solve ur problem...
    Pleae get back to me if you want any further clarification...
    Thanks,
    Naveen.I
    Edited by: Naveen Inuganti on Jun 30, 2008 5:03 PM
    Edited by: Naveen Inuganti on Jun 30, 2008 5:50 PM

  • Listing users whose GroupWise account is set "Disable logins"

    Hello,
    Is it possible to somehow make a list of all users who have "Disable
    logins" checked? I need to un-check this box in order to facilitate a
    migration to Exchange (don't bother) with Quest.
    Maurice

    On Fri, 18 Feb 2011 12:38:15 GMT, Uwe Buckesfeld wrote:
    > in C1, you can add the column "Disable Logins" for the Groupwise View.
    > I don't think you can sort by it, but you can at least easily see who
    > has that checkbox set.
    I hadn't thought of that, but that does help a lot. Thanx!
    Maurice

Maybe you are looking for

  • My iphone 5 wont let me download certain apps?

    Why wont my iphone 5 let me download certain apps?

  • Driver upda

    Can someone tell me what and where I can get an updated driver for my Sound Blaster card, I ran a trail program RadarSync. and it told me that I needed to update the driver for my Creative Audigy Audio Processor. I'm not sure what model # I have, onl

  • Error occur during  export

    dear all, os: window 2003 db: oracle 8i when i export on oracle 8i (export owner) , i get a error: EXP-00084: Unexpected DbmsJava error -1031 at step 6661 EXP-00008: ORACLE error 1031 encountered ORA-01031: insufficient privileges EXP-00000: Export t

  • Photos REALLY Disappearing ...

    I have had 100s of photos just up and disappear from my library. I imported the pictures, created Events and they were there one day and gone the next. Does this have something to do with online gallery syncing or something. I noticed I had the same

  • M4A not AAC as stated

    Hi, I have not personally tried to play any of my matched, deleted and re-downloaded music files yet, but I can tell you that - to my surprise all the music I have re-download from the Match service (after matching) is NOT in AAC format (as stated by