Cfgrid, checkboxes in non-edit mode

I have a nice data-entry form that works great.  I have gotten a simple cfgrid to work nicely, displaying contract articles.
The cfgrid opens in a sweet popup window using cfwindow.  Now here are my problems:
The cfgrid is read-only.  I do not want the user updating this data!
There are 16 pages of contract articles, from which the user may select up to 10; however, they must select at least 1 article.
No matter what I try, I cannot get check boxes to appear in the first column of the grid.  There's a column there, with my header, but no boxes.
The current system forces the user to select and save the applicable articles from each page on which they appear.  What they want is the ability to click the check box, scroll to the next page (or 7) and select another without having to press Save each time (or leave the pop up window until they have selected all their articles).
Once the user selects their articles, how do I access their choices?
Here's my code:
The query to populate the grid:
   <cfquery datasource="#REQUESTDataSource#" name="articles">
          SELECT ArticleName from Articles ORDER BY ArticleNumber
     </cfquery>
     <cfreturn QueryConvertForGrid(articles, page, pageSize)>    
The code that calls the pop-up window:
     <cfinput type="button" name="popArticles" onClick="ColdFusion.Window.show('ArtPopUp')
           value="Click to select Contract Articles">
The code that opens the window and displays the grid:
     <cfwindow name="ArtPopUp" initShow="false" center="true" title="Select Contract Articles">
          <cfform>
               <cfgrid name="ArticleGrid" format="html" selectonload="false" selectmode="row"
                              bind="cfc:Functions.GetArticles({cfgridpage}, {cfgridpagesize},
                                               {cfgridsortcolumn}, {cfgridsortdirection})">
                    <cfgridcolumn name="selectArt" header="Select" select="true" type="boolean"
                        values="1" display="yes">
                    <cfgridcolumn name="ArticleName" header="Contract Articles" select="no">
               </cfgrid>
          </cfform>
     </cfwindow>
I've tried SelectMode="edit" with a corresponding "onChange" entry, but that didn't work.
Thank you in advance for your help.

OK, CF 9 solved the checkbox problem marvelously!  Here's the code that ended up working (for anyone else struggling with this problem!):
<cfquery datasource='database' name='GetArticles'
     SELECT ArticleNumber, ArticleText
       FROM Articles
    ORDER BY ArticleNumber
</cfquery>
<cfform>
     <cfgrid name='art_grid' format='flash', selectMode='edit' query='GetArticles'>
           <!---  Display the checkbox column  --->
          <cfgridcolumn name = 'ArticleIndex' select='yes' type='boolean' values='1' display='yes'>
           <!---  Display the text column  --->
          <cfgridcolumn name = 'ArticleName' select='no'>
     </cfgrid>
</cfform>
I'll start a new discussion for my other issues.

Similar Messages

  • FBL5N - Feild selection non editable mode

    Hi All,
    When i execute FBL5N transaction,i am not able to select the feilds as per my desire bcoz the feild display ICON is in non editable mode.
    The only option i have is layout selection and not the feilds selection.
    Can you let me know how to change it to editable mode.
    regards

    Hello,
    You don't have authorization for maintain ALV layouts. Please contact to your Basis department for authorization.
    ALV layout authorization object is S_ALV_LAYO. Please tell your Basis departman to give this object value for '23'.
    Regards,
    Burak

  • Item field to non-editable mode(display mode) in Purchase Order(ME22n).

    Hi SDN,
    Based on the Comany code i need to modify the item level fields like <b>Item, Account Assignment, Material</b> to non-editable mode(display mode) in Purchase Order(ME22n).
    So i modifed in the method MODIFY_SCREEN_TC_LINE of class CL_TABLE_VIEW_MM and set the value L_FIELD_STATUS = *  for the screen filed MEPO1211-EBELP. When i execute, the whole column changed to display mode and the empty rows filled with 0(zero). But i want only grey mode for the line items that are present for that PO but not for the whole column. So can any one guide me to do so. I am using 4.6c.
    Thanks in Advance
    Regards
    Basha

    Hi Ramesh,
    Normally you can change the currency field, after entering information in Data base's table, go to Detail's table and change the rate as you want, then directly choose your PO number.
    so the system accept the rate entered aven though the PO had another rate.
    Regards.

  • Help Needed---Opening Attachments/Templates of a BP in non-editable mode

    Hi...
    I am new to CRM...
    How do we open a document/Template attached to a BP in non-editable mode in web UI?
    Helpful Answers would be rewarded.
    Thanks
    Swapna

    Hi...
    I am new to CRM...
    How do we open a document/Template attached to a BP in non-editable mode in web UI?
    Helpful Answers would be rewarded.
    Thanks
    Swapna

  • Selection screen in Non-EDIT mode

    Hi all,
    I have a selection screen in which the user wants a field to be in Non-EDIT mode. How to do it?
    PARAMETERS : s_vkorg like vbrk-vkorg default '1000'.
    (The above parameter shud be in non-editable mode) 
    select-options : s_vtweg for vbrk-vtweg.
    select-options : s_spart for vbrk-spart.
    Pls reply.
    Thanks in advance.
    Vijay

    Vijay,
    Use the code below.
    REPORT zscreen.
    TABLES: vbrk.
    SELECT-OPTIONS : s_vtweg FOR vbrk-vtweg MODIF ID mo1.
    SELECT-OPTIONS : s_spart FOR vbrk-spart MODIF ID mo1.
    * At selection Screen Output Event
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-group1 = 'MO1'.
          screen-input = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.

  • The note field is in non-editable mode in appraisal document

    Hi all,
    In appraisal document,
    the reviewer can give his comment in the status u201CIn Processu201D and in the Sub Status u201CAnnual Review by Addl Managers/Reviewersu201D in an appraisal document. It is editable when I am trying via web but when I try to upload the comment from backend GUI  ( using phap_admin) the note field is in non-editable mode. My client requires it in editable mode at the back end.
    Can any one help me on thisu2026

    Hello Girish,
    Can you please check the appraisal  template, Proper access has been given to use the note column. If still faces problem can look for the BADI  HRHAP00_COL_ACCESS.
    You can look for the following notes also :
    1554467   column access does not work
    Best Regards,
    Deepak..

  • Appraisal Document opens in non-editable mode

    The Appraisal cycle is as follows: Appraisee-> Appraiser-> Reviewer
    The appraisal document is flowing correctly as per the status flow and the corresponding participants are able to act on it. But when the Appraisal document reaches the Reviewer, i.e. the last stage, it opens in a non-editable mode. Hence the Reviewer is not able to make any changes in the document. The buttons are also in disabled mode.
    Request you to help me with the same.

    Hi,
    Thanks for your response. Problem solved. The Roles and Element access was fine.
    Needed to set the BSP iView parameter MODE = X
    Now its working fine.
    Sheetal

  • How to make a field in non Editable mode

    Hi All:
    Now i created one form through wizard method this consists of following details
    Table name:T1
    Fields:No,Name
    here my requirement is how to make this "No" field in non editable mode after the insertion of the first record.

    You can make it a display item, you can disable the item, or you can set the update property to No. See the set_item_property in the Help documentation.

  • ALV Grid fields from editable to non-editable mode

    Hi,
    I am displaying my data through ALV Grid. In my grid the non-key fields are in editable mode.
    When I edit any of the editable fields and place the cursor on other field the field which I have edited should become disable(non-editable). Again if I want to edit the same field which is now in non-editable mode should again change to editable mode when the cursor is placed on it.
    Thanks & Regards,
    Adithya M.

    Hi Adithya,
    I am confused by your statement "place the cursor on other field the field which I have edited should become disable" -- are you stating that this is the requirement or what is currently happening with your program.  The way the edit fields should work by default is they are editable at all times unless you tell it otherwise. 
    If you are saying your requirement is to change the field to disabled once the field is edited (runtime change), first you want to handle the event on data changed then within your method of handling on data changed, you can disable the field from being edited by using cell styles and changing the value to disabled. 
    If you look at program BCALV_GRID_EDIT,
    You will find code where it disables the field for edit using Cell Style -- this will give you an idea how Cell Style controls editable fields and display fields:
            ls_cell-style  = cl_gui_alv_grid=>mc_style_enabled.
            ls_cell-maxlen = 4.
            ls_cell-fieldname = 'CARRNAME'.
            append ls_cell to gt_sflight-cell.
    This specific code will set the field disabled when the program is first exectued, in your case if you need to do this at run time, after someone edits the field, you need to implement handling the event on data changed, in the same program you will find:
    method handle_data_changed.                 
       perform data_changed using er_data_changed.
    endmethod.                     
    It is within this method that you can disable a field for editing.
    However, once it is disabled you will not get back into the handle_data_changed method.  I'm not sure I understand your statement "Again if I want to edit the same field which is now in non-editable mode should again change to editable mode when the cursor is placed on it."  Why would you want the user to be able to edit something, then show it disabled, then let them click on it and edit it again?  Why not just leave it in edit mode?  Maybe if I understand the requirement better, I can answer this portion of the question. 
    If this is based on security or changing from edit to display for the entire grid, you can run the same program mentioned above and click on the Change/Display button in the top left to see how it enables and disables the entire grid for editing.
    Cheers,
    Bonnie

  • 'Choose function drop-down is coming in non editing mode

    Hi,
       I am trying to create RFC iView.I given function Group asBAPI_BILLINGDOC_GETDETAIL and Function Name: as BILLINGDOC.But once i am selecting the button Find  'Choose function drop-down is coming in non editing mode. Please provide the needful.
    Thanks,
    kundan

    Hi,
    Plz ensure the function group name and funciton module name are correct..
    Drop down will be enabled only after clicking on find button provided by proper details of function group and name

  • IPhoto shows original as thumbnail and in non-edit mode

    Hey guys,
    my problem started when my MacBook Pro turned of
    when iPhoto '11 was open
    without going into safety mode (battery needs replacement; haven't planned on it since it is only 3 years old and 550 cycles)
    then no thumbnails were displayed at all, so I started the rebuilding. But that did not work out at all.
    my problem is that if I use iPhoto:
    Thumbnails displays the original photo not the edited one
    If I look at the Photo in fullscreen (double-click the photo) it shows the original
    If i go into edit mode (pressing ENTER) the "real" photo shows up,
    and i can go back an it is the original again
    i can edit it, undo it and then the thumbnail and fullscreen photo is ok
    RAW photos just show up in edit mode, else it is blackscreen with a "/!\"
    Please help me, since iPhoto is totally unusable to me now and I'm sad
    Thank you for your help!
    //Alkoholfrei

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • In sales order sold to party is non editable mode

    Dear Experts ,
    I am facing one issue regarding customer code in sales order,my issue is
    As we are creating sales order with reference to service order ,when it comes to sales order the sold to party is in  non editable field,as we want to give the option for the user to change the sold to party address and save the document,is there any standard process to change the sold to party at sales order level,how to do that,and what will be the effect If i change the sold to party address,soon reply will be more helpful and thankfull.
    I have check all the related questions but I cant find related answer for this.

    Hello,
    Sold to Part is non modifiable in SAP Standard.
    For changing Customer address you need to change the Sold to Party code in Sales Order.
    Just go to partners Tab & double click on Customer Code of required partner & system will open Customer Address in new screen. You can change the address here.
    This change will be applicable only to particular Transaction & Customer Master address will not be changed.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • How to design ALV GRID with a column in NON-editable Mode and has F4 Help?

    Hello Friends,
      How to code for ALV GRID, which has a column that takes value only from F4 Help and does not accept any other user input?
    Can I have that column non-editable and yet has F4 Help?
    Please help ASAP.

    Hi,
      The examples in the mentioned programs do not suffice my problem.In these programs. They have made the cell non-editable but you cant even input value through F4 Help.
    I want to make a cell non-editable (which can be changed only through F4 Help), which do not accept user input.

  • Non-editable mode for customer master data in VA01 and VA02

    Hi all,
    User requirement is they don't want to give permission to change customer master data (payer & ship-to ). I didn't find any user exit to do screen non-editable.
    Can any one help me in this..
    Regards,
    Sudhakara

    Hi Sudhakar Reddy,
    For this transaction code user exits available :
    SDTRM001  Reschedule schedule lines without a new ATP check
    V45A0001  Determine alternative materials for product selection
    V45A0002  Predefine sold-to party in sales document
    V45A0003  Collector for customer function modulpool MV45A
    V45A0004  Copy packing proposal
    V45E0001  Update the purchase order from the sales order
    V45E0002  Data transfer in procurement elements (PRreq., assembly
    V45L0001  SD component supplier processing (customer enhancements
    V45P0001  SD customer function for cross-company code sales
    V45S0001  Update sales document from configuration
    V45S0003  MRP-relevance for incomplete configuration
    V45S0004  Effectivity type in sales order
    V45W0001  SD Service Management: Forward Contract Data to Item
    V46H0001  SD Customer functions for resource-related billing
    V60F0001  SD Billing plan (customer enhancement) diff. to billing
    For ur requirement whixh exit is suitable plz check it out. other wise put breakpoint for userexit and check it out.
    Rewards somr points.
    Rgds,
    P.Nag

  • Momentary checkbox disappeared in Edit mode

    This is the third time in the last week that several of my buttons, which contain assignments using the Momentary Checkbox, no longer have the Momentary Checkbox available. If you look at the screenshot below, you will see where the checkbox should be. These momentary assignments are critical to the workflow I am trying to do. I can open a different concert, copy buttons that do work into this concert, and then those buttons have the momentary option. Has anyone seen this before? This has happened in several separate concerts.

    Blueberry, that makes sense that you have to adjust the button in Layout mode, pressing Learn and the button 3 times. Thank you for clarifying the steps there for me, and I see in the manual where it says to do that. 
    I guess my question is why would it change randomly? I do not see anything in the manual that explains how the button will change. Everything was working perfectly with my setup for a week. I frequently closed and opened the concert. Then, I opened the concert one day and all the momentary assignments were gone. I did not make any adjustments to yield this change.

Maybe you are looking for

  • Unable to Settle WBS element- Message No. KD559..

    Hi, I am trying to settle a WBS element. I have maintained the settlement rule through CJIC. Now when I am trying to settle it through CJ88 I get a message: Message no. KD559 Diagnosis You are trying to use a settlement amount rule to settle an amoun

  • Who Column - What is best way to put value in who columns

    Hi, I have a custom concurrent program that is inserting values in a custom database table. Now I have to update that table to enter *'who columns'*. I have updated table but now get confused when I need to enter values in those 'who columns'. Now I

  • Reset pagination solution

    I've always had problems with users being confused by the "Reset Pagination" error message ("Invalid set of rows..."). But I have several situations where I don't want to force a reset pagination all the time. Is there any way that I could only reset

  • Urgent: Struts Tile Version supported in 10.1.2.0.2

    We are porting a tiles-application to 10.1.2.0.2 OC4J. But we get some errors invoking a tiles-page.I think the struts version we are using is 1.2.6. The struts-tiles.tld says version 1.3 And the error we get is: Errors parsing struts-tiles.tld Error

  • Safari screen has gone blank and seems to be hanged

    safari screen has gone blank and seems to be hanged