How to Disable CheckBox for a Particular Condition

Hi All,
In my application, iam using one table having 5rows , with checkboxes,
based on one condition i want to  make few checkboxes as default disable in the same table, and some checkboxes i shud make it as enable, so experts please help me how to disable some checkboxes.
disable means even if we select it shud not get selected, like that is it possible,

Hi Sushma,
You can have one more attribute in the same node from where you are populating the table and bind this boolean attribute to the enabled property of your CheckBox.
and by looping thriugh the table you can check for conditions and based on it set the Enability of the checkbox.
for (int iRowsCount =0;iRowsCount < wdContext.node<name>().size();iRowsCount++)
if (condition)
// Disabling the Checkbox based on the condition
wdContext.node<name>().get<name>ElementAt(iRowsCount).set<BooleanAttributeName>(false);
Hope this helps!!
Cheers,
Arafat

Similar Messages

  • How to disable cache for a particular Report in obiee 10g?

    HI
    My name is Rani .Learning obiee10g ifaced 1 interview in that they asked me like how u disable cache for a particular report?

    In the advanced tab of the report, under prefix you need to mention:
    SET VARIABLE DISABLE_CACHE_HIT=1;
    Refer below link
    http://tipsonobiee.blogspot.com/2009/06/step-by-step-to-bypass-all-caches.html
    Thanks

  • How to disable IFD for a particular organization in MSCRM 2013?

    Hi All,
    We have a requirement to disable IFD only for a particular organization. Does MSCRM support IFD per organization?
    Thanks in advance.
    -Jai

    You cant disable IFD for a particular organization considering that its the servers which are configured for IFD and not the organizations.
    Regards, Abhishek Bakshi If you find this post helpful then please Vote as Helpful and Mark As Answer. Check my blog on https://mydynamicscrmblog.wordpress.com/

  • How to find total recs in a local table for a particular condition

    Hi,
    How to find total recs in a local table for a particular condition?
    Thanks,
    CD

    Well, you may want to try this as well, and compare to the LOOP way.  Not sure what kind of overhead you may get doing this way. Here ITAB is our main internal table, and ITAB_TMP is a copy of it.  Again I think there may be some overhead in doing the copy.  Next, delete out all records which are the reverse of your condition.  Then whatever is left is the rows that you want to count.  Then simply do a LINES operator on the internal table, passing the number of lines to LV_COUNT.
    data: itab type table of ttab.
    data: itab_tmp type table of ttab.
    itab_tmp[] = itab[].
    delete table itab_tmp where fld1 <> 'A'.
    lv_count = lines( itab_tmp ).
    Regards,
    Rich Heilman

  • Sales order Pricing for a particular condition type

    Hi Folks,
    I have a requirement that when i change the Shipping condition(VBAK-VSBED) in the Sales order  The Pricing should be triggered and the price should be re-determined only for a particular condition type (ZFM1) . This condition type represents Freight charges.
    I am trying to use user exit USEREXIT_NEW_PRICING_VBAP(include MV45AFZB) in the below fashion but the price is getting
    re-determine for all the condition types. I have even tried by passing NEW_PRICING = 'H' but we have multiple condition types for freight and price would get re-determined for all these condition types. I want the price should get refreshed only for condition type ZFM1.
    FORM USEREXIT_NEW_PRICING_VBAP CHANGING NEW_PRICING.
       IF VBAK-VSBED NE *VBAK-VSBED
          New_Pricing = 'B'.
       ENDIF.
    ENDFORM..
    So, do we have any function module which i can use to refresh only a specific condition type.
    <Priority normalized by moderator>
    Edited by: Vinod Kumar on Nov 3, 2011 1:35 PM

    Hi
    It's hardcoded. Go to include FV45PF0P_PREISFINDUNG and you can see when the userexit is called and how the report call other subroutine:
              perform userexit_new_pricing_vbap(sapmv45a)
                      changing da_pricing.
              if not da_pricing is initial.
                 if da_pricing ne function_new_pricing.
                    perform preisfindung using da_pricing.
                 endif.
              endif.
    In subroutine PREISFINDUNG is called the FM 'PRICING' with the value for DA_PRICING for CALCULATION_TYPE.
    Regards
    Eduardo

  • How to provide hyperlink for a particular field in ALV

    Hi,
      How to provide hyperlink for a particular field in alv report.
    Regards,
    Ramu.

    Yes you can do that. using the fieldcatalog there is an option for that. give HOT_SPOT = 'X'. for the column you want.
    wa_field-hotspot = 'X'.
    REPORT  ztest_alv.
    TYPE-POOLS:slis.
    DATA:it_fieldcat  TYPE  slis_t_fieldcat_alv,
         wa_field LIKE LINE OF it_fieldcat.
    DATA: BEGIN OF it_likp OCCURS 0,
           vbeln TYPE likp-vbeln,
          END OF it_likp.
    DATA: layout TYPE slis_layout_alv.
    wa_field-fieldname = 'VBELN'.
    wa_field-tabname = 'IT_LIKP'.
    wa_field-hotspot = 'X'.
    wa_field-outputlen = 10.
    wa_field-no_zero = 'X'.
    wa_field-seltext_l = 'Sales'.
    APPEND wa_field TO it_fieldcat.
    SELECT vbeln FROM likp
    UP TO 10 ROWS
    INTO TABLE it_likp.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program      = sy-repid
        is_layout               = layout
        i_callback_user_command = 'USER_COMMAND'
        it_fieldcat             = it_fieldcat
      TABLES
        t_outtab                = it_likp
      EXCEPTIONS
        program_error           = 1.
    *&      Form  user_Command
    *       text
    *      -->UCOMM      text
    *      -->SELFIELD   text
    FORM user_command USING ucomm TYPE sy-ucomm
                        selfield TYPE slis_selfield.
      CASE ucomm.
        WHEN '&IC1'.
          SET PARAMETER ID 'VL'  FIELD selfield-value.
          CALL TRANSACTION 'VL02N' AND SKIP FIRST SCREEN.
      ENDCASE.
    ENDFORM.                    "user_Command

  • How to give comments for a particular table

    hi..
    how to give comments for a particular table ..
    select * from user_tab_comments;
    tx in advance..

    Try this.
    SQL> COMMENT ON TABLE EMP IS 'THIS IS SAMPLE EMPLOYEE TABLE' ;
    Comment created.
    SQL> select * from user_tab_comments where table_name = 'EMP'
      2  /
    TABLE_NAME                     TABLE_TYPE
    COMMENTS
    EMP                            TABLE
    THIS IS SAMPLE EMPLOYEE TABLE

  • How to disable iMessage for a single contact?

    Hello apple communites, I have a simple and hopefully simple to answer question..
    I am curious as to how to disable iMessaging for a single contact.  My sister when she got her phone number originally had an iPhone, she has since gotten an android and kept the same phone number.  However I am running into issues with text messages to her, my phone still thinks she has an iPhone and continues to send every text as an iMessage, resulting in a failed message.  I can easily hit the "send again as a text message" option and the message/picture sends as normal.  I however find this a bit fustrating, and have tried everything I can think of to attempt to disable this.  However all the online tutorials I can find regarding disabling iMessage turns the feature off completly, I don't wish to do that. 
    I have attempted to completely delete, (including all existing all texts and call history), and then re-add the contact, but that does not work either, my iPhone still attempts to send messages to my sister as an iMessge. Any help, if any, would be appreciated. Thanks in advance.

    Your sister needs to disable iMessage on her iPhone if the iPhone is still available if she hasn't already done so.
    If she has, does she have iMessage enabled with the same Apple ID on another iOS device or on a Mac as was used to activate iMessage on her iPhone?

  • How to disable click for open a app mobile? i have picture.

    how to disable click for open a app mobile?
    How i do?
    why adobe captivate need to click for open app.
    i need to open auto.
    thank you

    Swiping down from the midle of the screen will open the search window on its upper section.

  • How to disable debugger for sapscript forms.

    How to disable debugger for sapscript forms.
    Once activated in se71-Utilities-Activate debugger I do not know how to disable it

    Thank you Rich
    I assigned you points for good answer on my preavious mail)
    . Actually my real problem is a transported the SAP script form “znalepke2” , printer definition ”nale”
    and device type “zststartsp” of a thermal printer.
    On original system (ak1) the printout is ok but on target system(ak2)
    not.
    Lateron I transported also :
    R3TR SCPD 1403(as the device type uses this character set)
    R3TR TABU TSP08 (All entries)
    R3TR TABU TSP1D(All entries)
    R3TR TABU TSP1T(All entries)
    I used also report  RSTXSCRP to traport form and device types. L
    Lately I discovered that when I performe printout preview I get also eronneous printout If I ssue an printout preview in language "EN" on system "ak1"(only on system ak1 and form preview in "SL" is oK. What steps you suggest me to solve the prolem
    Thank you in advance

  • How to disable IPv6 for loopback adapter (lo0)

    I was wondering if anyone knows how to disable IPv6 for the loopback (lo0) adpater. I know how to do it for other adapters using the Network preferences pane, but lo0 doesn't appear there...
    Thanks,
    - alan

    I need to temporary disable ipv6 address of lo0 (which by the way is not 127.0.0.1 but ::1) for testing development purpose..

  • How to disable iMessage for certain contacts

    I was wondering how to disable iMessage for certain contacts!

    Try deleting the phone number from the persons contact and then re-entering it as a new number.
    You don't have to delete the entire contact.
    Worked for me.

  • How to disable iMessage for an old Apple ID which is only used for AppStore?

    How to disable iMessage for an old Apple ID which is only used for AppStore?
    I used my old Apple ID for iMessage and AppStore Apps. Now I'm using my iCloud Account (second Apple ID) on my Mac as iCloud and iMessage Account.
    New Apple ID - iCloud & iMessage (**** thing that I can't use my okd Apple ID for iMessage and another for iCloud) on new Mac
    Old Apple ID - AppStore, iMessage days ago
    So now how to disable the iMessage function for my old Apple ID which isn't used anymore?
    Thank you!

    Yeah the problem is that I want to be reachable by:
    *new apple id
    *mobile number
    Earlier:
    *old apple id
    *mobile number
    Problem - if I set in Settings => Messages => Receive at:
    *new apple id
    *mobile number
    Others still can see my old apple id as "iMessage" although it isn't used a iMessage anymore. So how to disbale iMessage function for that?

  • Grid Control how to disable alert for Tablespace UNDO is 99 percent  full

    I am new to Grid control and want to know how to disable alert for UNDO tablespace full.
    Target Name=xxxx
    Target type=Database Instance
    Host=xxx
    Occurred At=Dec 24, 2010 1:21:00 AM EST
    Message=Tablespace UNDOTBS1 is 99 percent full
    Metric=Tablespace Space Used (%)
    Metric value=99
    Tablespace Name=UNDOTBS1
    Severity=Critical
    Acknowledged=No
    Notification Rule Name=Database E-Mail Notifications
    Notification Rule Owner=SYSMAN

    You should post in the grid control foruma.
    But just go to databases, select your database, metric and policy settings, find the tablespace metric, edit and exclude the undo tablespace.

  • How do I search for a particular song on iTunes ?

    How do I search for a particular song on itunes - it used to be easy to go to search but that function seems to have disappeared

    The search function is still very much there, upper right corner of the iTunes Window.

Maybe you are looking for

  • Support for non-English characters in Safari?

    When I browse Japanese and Chinese websites, Safari only shows blank lines and empty blocks, it seems Safari doesn't support non-English encoding or UTF-8?   Windows XP Pro  

  • Report in VIM Analytics for multiple PO Invoices

    Good afternoon I would like to share with you a concern that I have Im triying (unsuccesfully) to extract a report from VIM Analytics for those documents that were posted with more than one Purchase Order Does anyone experienced a similar case ? Seba

  • Upgrade from 10.9 GM to final

    Good day everyone! Does anyone can help me with understanding where the problem is. What I have: MBP Retina 13" Early 2013 Software  OS X 10.9 (13A598) The Maverick is 10.9 GM. Now I'm trying to upgrade from 13A598 to final 13A603 public release. I c

  • KDE - warning: cannot resolve "system-config-printer =1.1.7-3"

    I'm trying to install KDE, fresh install, and this is what I get after: pacman -S kde resolving dependencies... warning: provider package was selected (freeglut provides glut) warning: cannot resolve "system-config-printer>=1.1.7-3", a dependency of

  • Missing Routing List.....

    Hi All, Our material master is 40,000 and accordingly routing and BoM has been made. Some of the routing and BoM are missing. Where should i get a list of missing routing as compare to material master or finish product. Is there any report for missin