How to disable a default selection checkbox in the tableview

Hi All,
         How to disable a default selection checkbox in the tableview ???
I have  a tableview  with a iterator class mentioned on the iterator attribute of the table view. Table is a MULTISELECT tableview . Is it possible to disable or make it invisible a particular row selection check box?.
For my scenario I have Currency values on all the columns and I want to do a sub total overall total for all the price column fields in the last row of that table. I archived this functionality using Iterator class method. But I don't want the user to delete that last row in any case.
Thanks for your help in advance.
Thanks,
Greetson

Hi,
  You can NOT disable the "Checkbox" of particular row using HTMLB. I had the same requirement. I achieved using <b>2 Tableviews</b>, one after another. 1st tableview will show all the rows and 2nd Tableview(without Table Header) and without any row. The <b>total</b> will be displayed as <b>Column title</b> of 2nd Tableview.
Here is the code of 2nd tableview which we used to display the Total:
          <htmlb:tableView id                  = "tv2"
                           headerVisible       = "false"
                           keyColumn           = "appid"
                           footerVisible       = "false"
                           selectionMode       = "SINGLESELECT"
                           design              = "ALTERNATING"
                           fillUpEmptyRows     = "false"
                           visibleRowCount     = "0"
                           width               = "100%"
                           table               = "<%= tot_header %>" >
            <htmlb:tableViewColumns>
              <htmlb:tableViewColumn columnName = "empno"
                                     title      = "Total"
                                     width      = "50"
                                     type       = "TEXT" >
              </htmlb:tableViewColumn>
              <htmlb:tableViewColumn columnName = "ename"
                                     title      = "  *      "
                                     width      = "90"
                                     type       = "TEXT" >
              </htmlb:tableViewColumn>
              <htmlb:tableViewColumn columnName = "appamount"
                                     title      = "   <%= tot_appamt %> "
                                     width      = "60" >
              </htmlb:tableViewColumn>
              <htmlb:tableViewColumn columnName = "ugjr_amt"
                                     width      = "60"
                                     title      = "<%= tot_ugjr %>" >
              </htmlb:tableViewColumn>
              <htmlb:tableViewColumn columnName = "apprvd"
                                     width      = "50"
                                     title      = "*" >
              </htmlb:tableViewColumn>
            </htmlb:tableViewColumns>
          </htmlb:tableView>
Hope this will help you.
<b>Note: Reward each useful post.</b>
Raja T
Message was edited by:
        Raja T

Similar Messages

  • How to set default selected checkbox in af:tableSelectMany /

    Hi,
    I am new to ADF technology, I am using JDev 10..3g.
    I want to set the checkbox as default selected for particular rows.
    but I don't know how to set default selected checkbox in <af:tableSelectMany />
    Is there any way to do this using ADF<af:tableSelectMany />
    Thanks,
    Mohammed

    Hi Jeroen,
    Thanks for reply. but the problem is that I am getting data from database and based on some flag I need to select checkbox while page is loading first time.
    at that time the table is null as till now it not rendered. and when its rendered it means page is displayed now.
    just before display I need to set checkbox as selected.
    I don't want to do like this (when user is pressing any command button then only is should update checkbox selection).
    Thanks,
    Mohammed.

  • How to retrive data from selected checkboxes with fieldnames

    hi experts,
    how to retrive data from selected checkboxes with fieldnames into another alv grid report.(here the fieldnames selected from  table names is dynamically).
    thankx in advance
    rani.k.

    Hi,
    Use user_command in the alv grid and then
    do the follwoing code
    FORM user_command1 USING lv_ucomm LIKE sy-ucomm
                      rs_selfield TYPE slis_selfield.
    Declaration of local Variables
      DATA : lv_ref1 TYPE REF TO cl_gui_alv_grid.
      DATA lv_cnt TYPE i.                                    "+INS SUHESH 12.07.2008
    Check function code
      CASE lv_ucomm.
        WHEN 'ONLI'.
          CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
            IMPORTING
              e_grid = lv_ref1.
          CALL METHOD lv_ref1->check_changed_data.
    now loop ur final internal table where check = 'X'.
    now pass data to other internal table..Now the internal table will be having values that the user selcetd on the screen.
    Hope this helps.
    Regards,
    Nagaraj

  • How to disable access to internet completely in the jnlp file

    Hi All,
    Can someone help me in figuring out how to disable access to internet completely in the jnlp file.
    To be specific with the scenario if the client does not have the JRE installed, i would like to have it downloaded from the server where application runs instead of going to java.sun.com website which needs internet access.
    How can we configure it in such a way that it does not go to internet at all.
    Here is the snapshot of my jnlp file
    <j2se version="1.5.0+" href="http://java.sun.com/products/autodl/j2se" initial-heap-size="128m" max-heap-size="128m"/>
    I tried with the following and still unsuccessful.
    <j2se version="1.5.0+" initial-heap-size="128m" max-heap-size="128m"/>
    Could not find any useful information in the documentation.

    see post from Mike at:
    http://forum.java.sun.com/thread.jspa?threadID=704112&messageID=4082098#4082098
    for how to set up your own autodownload of jre from within your internet.
    /Andy

  • How to stop Mail from selecting addresses from the list of Previous Recipients?

    How to stop Mail from selecting addresses from the list of Previous Recipients?

    This is a related question.
    I deleted ALL my previous recipients and when I create a new e-mail it STILL is getting addresses that I don't want - they pop up and I don't know how to stop this!
    I switched from one ISP to another - I deleted the old e-mail account in MAIL - I DID use the same name on the account - is that why it keeps bringing up the old address? 
    ARGH!

  • How to Disable field in Selection-screen

    Hi All,
    I want to disable Screen field in my seelction screen. Below is my Code, but it is not working.
    I want to perform.
    If RB1 = X
    Then Parameter P_VBELN should get disabled. Please suggest, find below my code.
    *....Selection Screen
    selection-screen begin of block b1 with frame title text-001.
    parameters: p_vbeln like vbak-vbeln.
    selection-screen end of block b1.
    selection-screen begin of block b2 with frame title text-002.
    parameter: rb1 radiobutton group radi default 'X',
               rb2 radiobutton group radi.
    selection-screen end of block b2.
    *....At Selection Screen
    AT Selection-screen.
      if p_vbeln = ''.
        MESSAGE ID 'ZID' TYPE 'E' NUMBER '000'.
      endif.
    *....At selection screen output
    AT Selection-screen output.
      if rb1 = 'X'.
        Loop at screen.
          if screen = 'P_VBELN'.
            screen-input = '0'.
          endif.
          modify screen.
        endloop.
      endif.
    *....Start of selection
    Start-of-Selection.
      select *
      from vbak into table itab1
       where vbeln = p_vbeln.
      if itab1 is initial.
        select *
        from vbap into table itab2
        for all entries in itab1
        where vbeln = itab1-vbeln.
      endif.

    Hi Kamaljeet ,
    In the code below..see the lines in BOLD..explanation is given as to why they are required
    Code----
    selection-screen begin of block b1 with frame title text-001.
    parameters: p_vbeln like vbak-vbeln.
    selection-screen end of block b1.
    selection-screen begin of block b2 with frame title text-002.
    parameter: rb1 radiobutton group radi default 'X' user-command ucomm,
    rb2 radiobutton group radi.
    selection-screen end of block b2.
    AT Selection-screen output.
    if rb1 = 'X'.
    Loop at screen.
    if screen-name = 'P_VBELN'.
    screen-input = '0'.
    endif.
    modify screen.
    endloop.
    else.
    Loop at screen.
    if screen-name = 'P_VBELN'.
    screen-input = '1'.
    endif.
    modify screen.
    endloop.
    endif.
    Explanation----
    If the user command is not given,the system will not trigger on the click of radio button..
    Once triggered it comes to "At selection screen output"..where we must also mention the case when
    radio button 2 is selected RB2 ..the p_vbeln must be input and when RB1 is selected the field
    p_vbeln must be display only..Paste the code and see how it works
    Then use the logic as desired...
    Hope it helps
    Regards
    Byju

  • Magnetic charger and call - how to disable speaker default?

    When charging with magnetic cord, calls are, by default, on a speaker.
    How to disable speaker selection???

    Hi,
    This can't be disabled. When the phone is charging via the magnetic charging dock and you answer a call, the loudspeaker will be enabled. But once you remove the phone from it, the sound will automatically go via the ear speaker. It's not meant that you should lift up the whole charging station for answering a call.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • How to disable a standard selection screen of LDB?

    Hi Friends,
       My requirement is to disable a standard selection screen of a standard LDB and use my own Selection screen instead.How to go about it?.
    Prompt replies would be rewarded.
    Regards,
    Tamilarasan.

    Hi Tamilarasan,
      U can hide LDB field, in the following way.
    1.In tables statement remove the table name for the fields
      you done require.
    2.You can modify the screen fields. LOOP AT SCREEN
    3.In the program attributes you can choose the SAP defined
      selection screen if provided.
    Add can add new field, in the following way,
    1.If it is Customer program then as normal way like
    SELECTION-SCREEN: BEGIN OF BLOCK 1
    SELECT-OPTIONS:
    SELECTION-SCREEN END OF BLOCK 1.
    2. Goto SE36 and modify the selection views by creating  'CUS'.
    All LBD will not have dynamic selection. If you want you can copy to Z* version and add the following statement to have dynamic selction
    "SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE" XXXX
    Regards,
    Prabhu Rajesh.

  • How to disable "overwrite exisintg files" checkbox from Upload.aspx

    Hi Folks,
    I have a requirment to disable 'Overwrite existing files' check box from upload.aspx for only 2 specific libraries and it should be in visible for rest of libraries.
    could you please share the code snippet / any other suggestions to make it full this requirement.
    Thanks,
    janaiah

    Hi 
    you can use jquery to do so.
    $(document).ready(function()
        var
    form = $('form');
        if
    ( form.attr('action').indexOf('YOUR 36 character List ID - Without Braces') > -1 )
            var
    checkbox = $('#ctl00_PlaceHolderMain_UploadDocumentSection_ctl03_OverwriteSingle');
            checkbox.prop('checked',false);
            checkbox.parent().hide();
            var
    multiple = $('#ctl00_PlaceHolderMain_UploadDocumentSection_ctl03_UploadMultipleLink');
            multiple.hide();
    https://sharepoint4u.wordpress.com/2013/08/13/how-to-disable-overwrite-exisintg-files-in-a-library/
    Regards,
    Rajendra Singh
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful
    http://sharepointundefind.wordpress.com/

  • How to disable first row selection in a table

    Hi,
    I have three tables which have master child relationship. I need to enable a button for each table based on row selection of corresponding table.But first row is being selected automatically and the buttons are enabled.
    what should i do in order to avoid first row selection in a table.I tried by removing selected Row Keys.But still i am getting the same problem.can anyone suggest on this.
    Thank You,
    Sukumar

    I know a hack but I don't recommend it, anyway here it goes:
    Remove selected Row Keys
    Change selectionListener from the default and create a custom action listener (You can call the default one inside of it) (Tip: use makeCurrent function in this PDF
    This will make sure that there is no selected row highlighted for the first time, but it actually means that the first row is selected, it's just not shown.
    This method is tested with 11.1.1.7

  • Using checkboxes as datasource of TileList - how do I then receive selected checkboxes?

    I've been googling and searching for this and it should be simple I'd imagine... (I'm new to Flex so that probably doesn't help:)...
    I have an array that I create using CheckBox components. I then use this array as the dataprovider for a TileList and then also create a CheckBox itemrenderer.
    The issue I'm having is that, I thought if I went over the underlying checkbox array at a later point (say a button click) - that I'd be able to see some selected items yet none of them show up selected as I iterate over them (even though I've checked some of the checkboxes.)
    I have an event on the checkbox rendererer itself and when it fires I do see the selected property set - It's just going over the whole array that I'm not seeing them set. It's as if the underlying dataset is not being modified. What do I need to do so that I can capture the selected checkbox items?  (Is the issue something to do with the renderer being reused?)  I'm thinking getting a handle to checkbox items from from a TileList would be somewhat common so any help/examples appreciated.
    Below is the pertinent code:
    [CODE]
    dataArray is an array of type [B]CheckBox[/B]
    <mx:TileList id="reportMetricsBox"
            borderStyle="solid" height="100%" width="100%" maxColumns="3"
            columnWidth="110" paddingLeft="0" textAlign="left" borderThickness="0"
            dataProvider="{dataArray}">
       <mx:itemRenderer>
           <mx:Component>
               <mx:CheckBox click="handleClick(event)">
                   <mx:Script>
                       <![CDATA[
                           import com.foo.event.CheckBoxEvent;
                           private function handleClick(event:Event):void {
                               dispatchEvent(new CheckBoxEvent(CheckBoxEvent.CLICKED, CheckBox(this)));
                       ]]>
                   </mx:Script>
               </mx:CheckBox>
           </mx:Component>
       </mx:itemRenderer>
    </mx:TileList>
    [/CODE]

    Here's what I did to fix it...
    in my item renderer click handler I set the data selected item:
    private function onChange(event:Event):void {
         dispatchEvent(new CheckBoxEvent(CheckBoxEvent.CLICKED, CheckBox(this)));
        data.selected = !data.selected;
    I'm assuming that's what I should be doing?

  • How to disable "Use Default If Unwired" by default?

    When scanning part of my code, I noticed a wire output tunnel set to Use Default If Unwired, that would have really messed things up if I'd tried to run the program.  Is there a way to have that setting disabled by default?  I'd prefer to conciously enable it rather than have to remember to disable it whenever I wire across a structure boundary or add a new case.
    I am using LabVIEW 8.5 so I'd need a solution for that version if possbile.  It would still be nice to know if anything was added in later versions, even if I can't use it myself yet!
    Never say "Oops." Always say "Ah, interesting!"
    Solved!
    Go to Solution.

    Thanks for clearing that up.  I guess I'll have to just keep deselecting the option every time for now.  
    Never say "Oops." Always say "Ah, interesting!"

  • How do I change Default search engine in the address bar, not the search window on the top right or by using about:config, doesn't work. Worked fine until this FF 8.0 update, now defaults to Yahoo 7. About to throw it in and use Chrome.

    When Firefox 8.0 installed it has automatically changed my address bar default search engine to Yahoo7 which is crap. I can not change this back. So when I start FF it opens to my google home page, when I type a subject and search the results are displayed in a Yahoo 7 results page, not google. I am not talking about my default home page or the search bar to the top right. This is still google.
    The settings in about:config do nothing.
    This was fine until FF 8.0.

    Thanks dmcritchie,
    Nice effort but that answers a different question about fixing the add-on Yahoo toolbar.
    Pernich and I want to know; If you type search criteria directly into the address bar and hit enter, how to change that search engine from Yahoo to Google.
    Otherwise I too will go back to using Google Chrome, even though I really like FF8.0
    please help

  • HOW YOU GET IMOVIE TO SELECT/TRIM ALL THE TRACKS IN THE TIMELINE?

    trying to burn dvd of my vacation and imported the clips from the camera into imovie. worked great. i imported my audio into garageband to add some filters, compression and eq, and imported it back into imovie as a separate track. then, i muted the origional audio track from the camera. still great. now, i need to trim some clips because idvd says my movie too long to burn on a single-layer disc. not great, *****! so, then i went back to imovie and trimmed a clip and now the audio that is after the trimmed track is totally out of sync. really really *****!!!! it turns out that imovie only trimmed the video and left my second audio track alone. WHY??? ***!!! does anyone know how to trim clips so that imovie trims all the tracks? do you hold down 'shift' or 'option' or something??? there must be a way to do it. HELP!!! god, i hope i can burn this disc sometime in 2007.

    yea, thanks matt but i thought of that. if i do that i have to do my whole idvd project over again. i dont think i have enuff sanity left for that. i have a really complicated idvd project thats totally done. i think im just gonna burn it to a DLdisc instead.
    but hey, maybe you can help me with this question:
    i made a disk image of my vacation in maui, which is 1 hour 43 mins & chose the 'best quality' option. it has lots of violent ocean footage w/lots of motion, crazy colors, rainbows etc. its taken from a canon alura dv cam & looked awesome in imovie. my imovie project is roughly 23gb. when i watched the 4gb disk image that idvd created in DVD Player, it looked really blocky especially in the water/ocean scenes. like a bad divx rip from 1997, haha. im not happy with it at all. i kinda thought about how idvd would get 23gb compressed down to 4gb and worried about how it would look. well, my worring paid off cause it looks like crap.
    then, i looked at the project info window in idvd. if i select 'best performance' the capacity changed from 3.6gb to 6gb, whoa??? uh, that doesnt make sense. \ im gonna try to encode it using this 'best performance' that they speak of, and see if it helps. i just want my movie to look good and ill do anything, ill use a dvdisc if i have to! why spend hours making a perfect imovie/garageband/idvd project if your source footage looks like dog poop in the final stage. im assuming it will look better when i select this 'best performance' thingie because common sense and logic tell me 6gb is bigger than 3.6.
    then i got really CRAZZIIEE and looked at the 4gb idvd image next to 1 of my source .dv files in vlc player. vlc player says my disk image is getting about 4-6,000kb/s fluctuating, BUT my .dv file is 30,000kb/s sustained!!! how do i get 30,000kb/s sustained on my dvd??? wow, that would be great!!! prob not possible with my luck? my dvd player will explode into flames when i try to play it, right? also, how can i get the quailty higher? idvd is only going to use 6gb of a dual-layer disc, why if it has the capacity to hold 9gb? any help would be greatly appreciated!!! i thought about dvd studio pro but i would only try that if it will import my idvd theme perfectly, cause im not doing all that crap again. if im stuck with a 9gb dldisc that only used 6 gb, at least thats better than 3.6gb. ill settle for that if i have to.
    mahalo,
    jarett

  • How to disable only inactive firewall notification in the action center by GPO

    Hi
    I need to disable only inactive notifications firewall in the action center PCs through GPO.
    I have seen several posts and it seems possible disable by GPO only all notifications in the action center and not only firewall notifications.
    I have a DC with Win server 2012 R2.
    Have you any ideas?
    Regards
    Christian

    Hi Christian,
    Sorry, it seems that we can’t achieve this.
    Regarding this topic, the following thread can be referred to for more information.
    Disabling Action Center's Firewall Notification through GPO
    http://social.technet.microsoft.com/Forums/en-US/e78a30cb-6cf2-4de6-afda-e0c90a3d2e34/disabling-action-centers-firewall-notification-through-gpo?forum=winserverGP
    Best regards,
    Frank Shen

Maybe you are looking for

  • How can I alternate character colors with code CS3 JS-need for eye excersize?!

    For an interesting attempt to train eye focusing, I need to write code or find a tip to color every other character in any given file. Still an amatuer in Scripting. ST

  • 5.0.5 so slow to load

    I have a new MacBook Pro running 10.6.8 and all of my browsers run well and load quickly EXCEPT Safari which is painfully slow to load EVERY single time. I have cleared cache and more... anyone else having this problem? It is as if SAFARI runs in MOL

  • Acrobat 8.1 and Office 2007/2010 Professional

    I have a user stating she can't create PDF's from within Acrobat 8.1 Professional. When she selects Create pdf -> From File and selects a word document from her desktop, it gives her the following message: "Unable to open document...Please check to s

  • 1024 x 576

    I have to set up a DVD for PAL to be played on Plasma... Could anyone tell me if 1024 x 576 is the right pixel size for this?

  • Messagebox FORM_LOAD in 2004

    Hi, I know SBO 2004 is no longer supported, but one customer is still running 2004. Before upgrading to the next version its required to cancel some (10.000+) journal entries. For this reason I developed a little tool which does the required mousecli