Display a checkbox in cfgridcolumn?

I'm using CF8. I have an HTML-format cfgrid with several
columns, populated via a CFC in the bind attribute.
One of the columns I have set to type="boolean" in order to
display a checkbox. However, no mater what data I send to it, it
displays the data instead of a checkbox, e.g.:
1 and 0
true and false
yes and no (displays true and false)
Code:

Update: after making the cfgrid editable and adding the
associated onchange method, I can now view the checkbox after I
double-click the cell containing "true" or "false" (and the
checkbox is checked appropriately).
I have no idea if that is the intended behavior, but I
definitely don't like it.

Similar Messages

  • Display 4 checkbox in a row

    Hi,
    Please tell me that how to Display 4 checkbox in a row on selection screen.
    Thanks

    Done.
    Code is:
    SELECTION-SCREEN BEGIN OF BLOCK B1.
    selection-screen begin of line.
      selection-screen position 20.
      parameter : p_cric as checkbox.
      selection-screen comment 23(8) c_text for field p_cric.
      selection-screen position 60.
      parameter : p_hock as checkbox.
      selection-screen comment 63(8) h_text for field p_hock.
    selection-screen end of line.
    SELECTION-SCREEN END OF BLOCK B1.
    at selection-screen output.
      c_text = 'Cricket'.
      h_text = 'Hockey'.

  • How to display the checkboxes in the output

    Hi,
    I need to display checkboxes in the output. Once i select the check box it should
    display additional info of that field in anothe list.
    another senario:
    I want to check all the checkboxes at a time.
    i want to uncheck all the ch-boxes at time.
    Can i have some explanation on this with some sample code.
    Thanks,
    Srik

    REPORT  ZTESTPROG5                              .
    TABLES: MARA.
    Types:begin of type_mara,
          matnr type mara-matnr,
          mtart type mara-mtart,
          meins type mara-meins,
          end of type_mara.
    Types: begin of type_mard,
           matnr type mard-matnr,
           werks type mard-werks,
           lgort type mard-lgort,
           labst type mard-labst,
           insme type mard-insme,
           end of type_mard.
    data: it_mara type table of type_mara,
          wa_mara type type_mara,
          it_mard type table of type_mard,
          wa_mard type type_mard.
    data: check value space,
          ucomm type sy-ucomm,
          lines type i.
    select-options: s_matnr for mara-matnr.
    initialization.
      MOVE: 'BT'       TO s_matnr-OPTION,
            '100-100'  TO s_matnr-LOW,
            '100-500'  TO s_matnr-HIGH.
      APPEND s_matnr.
    start-of-selection.
      set pf-status 'ZSTATUS'.
      select matnr mtart meins from mara
      into table it_mara
      where matnr in s_matnr.
    end-of-selection.
      loop at it_mara into wa_mara.
        write:/ check as checkbox, wa_mara-matnr, wa_mara-mtart,
                wa_mara-meins.
        hide wa_mara-matnr.
      endloop.
      lines = sy-linno - 1.
    at user-command.
      ucomm = sy-ucomm.
      case ucomm.
        when 'REPORT'.
          set pf-status 'ZSTATUS' excluding 'REPORT'.
          do lines times.
            read line sy-index field value check.
            if check = 'X'.
              select matnr werks lgort labst insme from mard
              into wa_mard
              where matnr = wa_mara-matnr.
                write:/ wa_mard-matnr, wa_mard-werks, wa_mard-lgort,
                        wa_mard-labst, wa_mard-insme.
              endselect.
            endif.
          enddo.
        when 'SELECTALL'.
          lines = lines + 1.
          do lines times.
            READ LINE sy-index FIELD VALUE check.
            IF check = space.
              check = 'X'.
              MODIFY LINE sy-index
                          FIELD VALUE  check.
            ENDIF.
          enddo.
        when 'DESELECT'.
          lines = lines + 1.
          do lines times.
            READ LINE sy-index FIELD VALUE check.
            IF check = 'X'.
              check = space.
              MODIFY LINE sy-index
                          FIELD VALUE check.
            ENDIF.
          enddo.
      endcase.

  • Displaying 20 checkboxes in three columns

    In order to display a database item (table 1) item as check box.
    the values of chexk boxes are the results of another table with 20 records (table2), this I will have 20 check box in my form.
    I proceed like the following :
    I created a region with type is SQL Query ,
    the query is :
    select x.name, x.code
    from (select wwv_flow_item.display_and_save(1, table2.name) as name, htmldb_item.checkbox (2, table2.code, null, decode (table1.code_..., null, 0, table2.code)) as code
    from table2 table2 left outer join table1 table1
    on table2.code = table1.code_..and table1.code_ = :page_CODE) x
    ANYWAY, the I have my result, BUT ,
    because I have 20 cheeck boxex, I want to display them
    in a way that they appear in three columns.
    How can I change my query or how can I do it???????
    NOTE : using Lists is not a solution for me!!!!
    Thanks for any Help!

    First "392451", asking Raj the same question twice within a span of 16 hours will probably not get your question answered any faster. He is only one man and has a lot of questions coming in, not to mention other job responsibilities. Second, he's on the West coast, so is not up yet.
    Now on to your answer. I've used this phrase before, and it definitely applies here: This is not an HTML DB 101 answer. You asked a challenging question (and a good one at that), so the answer may challenge you a bit too. I'll use the emp table which has 14 rows for this example, but this should work for any table.
    First, lets get the empno and ename columns to use for our checkboxes. I'm going to create 2 additional columns, col_num and grp_by to use in the next step. The text description of "col_num" from the inside-out is: take the rownum, now divide it by 3 and give me the remainder (mod(n,3)) which will return 0,1, or 2, then replace any of the 0's with 3's so it will return 1,2 or 3. We will use these numbers for our 3 columns in the next step.
    The grp_by column is simply the rownum divided by 3, rounded up to the next highest integer. The results of rownum divided by 3 for the first 3 rows are .33, .66, and 1. When you apply ceil(n) to these, they all become 1. This will give us a column to group by in the final step.
    All of these queries can be run in SQL Workshop, assuming the schema you run it as has access to the emp table.
    OK, let's start with the first query:
    select empno,ename,
           replace(mod(rownum,3),0,3) col_num /* alias to col_num */,
           ceil(rownum/3) grp_by /* alias to grp_by */
          from(
                select empno,ename
                  from emp
                 order by ename)
         EMPNO ENAME      COL_NUM                                      GRP_BY
          7876 ADAMS      1                                                 1
          7499 ALLEN      2                                                 1
          7698 BLAKE      3                                                 1
          7782 CLARK      1                                                 2
          7902 FORD       2                                                 2
          7900 JAMES      3                                                 2
          7566 JONES      1                                                 3
          7839 KING       2                                                 3
          7654 MARTIN     3                                                 3
          7934 MILLER     1                                                 4
          7788 SCOTT      2                                                 4
          7369 SMITH      3                                                 4
          7844 TURNER     1                                                 5
          7521 WARD       2                                                 5Now, let's pivot the rows to columns. Any row with a value of col_num = 1 will be in the first column, col_num=2 will be in the second column, etc...
    select decode(col_num,1,empno||'-'||ename) col1,
           decode(col_num,2,empno||'-'||ename) col2,
           decode(col_num,3,empno||'-'||ename) col3
      from(
        select empno,ename,
               replace(mod(rownum,3),0,3) col_num /* alias to col_num */,
               ceil(rownum/3) grp_by /* alias to grp_by */
              from(
                    select empno,ename
                      from emp
                     order by ename))
    COL1         COL2        COL3
    7876-ADAMS 
                 7499-ALLEN
                             7698-BLAKE
    7782-CLARK 
                 7902-FORD
                             7900-JAMES
    7566-JONES 
                 7839-KING
                             7654-MARTIN
    7934-MILLER
                 7788-SCOTT
                             7369-SMITH
    7844-TURNER
                 7521-WARDNow, we need to "compress" our results so the empty gaps are filled in. This is where the grp_by column comes in. I'll add a max() around the the_col1 etc column so I can use a group by on the query. I will then group by the grp_by column:
    select max(decode(col_num,1,empno||'-'||ename)) col1,
           max(decode(col_num,2,empno||'-'||ename)) col2,
           max(decode(col_num,3,empno||'-'||ename)) col3
      from(
        select empno,ename,
               replace(mod(rownum,3),0,3) col_num /* alias to col_num */,
               ceil(rownum/3) grp_by /* alias to grp_by */
              from(
                    select empno,ename
                      from emp
                     order by ename))
    group by grp_by
    COL1         COL2          COL3
    7876-ADAMS   7499-ALLEN    7698-BLAKE
    7782-CLARK   7902-FORD     7900-JAMES
    7566-JONES   7839-KING     7654-MARTIN
    7934-MILLER  7788-SCOTT    7369-SMITH
    7844-TURNER  7521-WARD    Now, simply replace the empno concatenated to ename with a call to htmldb_item.checkbox. Use the "col_num" column for the value p_idx,and the empno column for the value of p_value. Then concatenate in initcap(ename) so the checkbox has a label:
    select max(decode(col_num,1,htmldb_item.checkbox(col_num,empno)||initcap(ename))) col1,
           max(decode(col_num,2,htmldb_item.checkbox(col_num,empno)||initcap(ename))) col2,
           max(decode(col_num,3,htmldb_item.checkbox(col_num,empno)||initcap(ename))) col3
      from(
        select empno,ename,
               replace(mod(rownum,3),0,3) col_num /* alias to col_num */,
               ceil(rownum/3) grp_by /* alias to grp_by */
              from(
                    select empno,ename
                      from emp
                     order by ename))
    group by grp_by
    (Can't display the results here.  Try in SQL Workshop.)Good luck,
    Tyler

  • Displaying the checkbox created at runtime

    hai all,
    i have created the checkboxes at runtime but they are getting displayed in the same line.
    i need to display them one after the other in next lines.please help me its urgent.
    Thanks n Regards
    Sharanya.R

    Hi,
    To solve the problem, I have created one Java class
    public class UIHandler {
    Call this method to create node in Component controller as the data should be shared among
    multiple views
    @param rootInfo is NodeInfo for wdContext in Component Controller
    @param name of Value node to be created
    @param Collection represents the list of attributes to be created for check boxes
         public static IWDNodeInfo createChildNode(
              IWDNodeInfo rootInfo,
              String name,
              Collection collection) {
              IWDNodeInfo node =
                   rootInfo.addChild(
                        name,
                        null,
                        true,
                        true,
                        false,
                        true,
                        false,
                        true,
                        null,
                        null,
                        null);
              for (Iterator iter = collection.iterator(); iter.hasNext();) {
                   String str = (String) iter.next();
                   node.addAttribute(str, "com.sap.dictionary.boolean");
              return node;
    Call this method to create node in view to create list of check boxes
         public static IWDNodeInfo createMappedChildNode(
              IWDNodeInfo nodeInfoOrigin,
              IWDNodeInfo rootInfo,
              String name) {
              IWDNodeInfo nodeInfoView =
                   rootInfo.addMappedChild(
                        name,
                        null,
                        nodeInfoOrigin.isSingleton(),
                        nodeInfoOrigin.isMandatorySelection(),
                        nodeInfoOrigin.isMultiple(),
                        nodeInfoOrigin.getPathDescription(),
                        false,
                        true);
              for (Iterator iter = nodeInfoOrigin.iterateAttributes();
                   iter.hasNext();
                   IWDAttributeInfo attrInfo = (IWDAttributeInfo) iter.next();
                   nodeInfoView.addMappedAttribute(
                        attrInfo.getName(),
                        attrInfo.getName());
              return nodeInfoView;
    Create list of check boxes
         public static void createCheckBoxes(
              IWDView view,
              String rootContainerName,
              IWDNodeInfo nodeInfo) {
              IWDTransparentContainer rootCont =
                   (IWDTransparentContainer) view.getElement(rootContainerName);
              IWDTransparentContainer cont =
                   (IWDTransparentContainer) view.createElement(
                        IWDTransparentContainer.class,
                        "Container");
              IWDGridLayout layout =
                   (IWDGridLayout) cont.createLayout(IWDGridLayout.class);
              layout.setColCount(2);
              rootCont.addChild(cont);
              for (Iterator iter = nodeInfo.iterateAttributes(); iter.hasNext();) {
                   IWDAttributeInfo attrInfo = (IWDAttributeInfo) iter.next();
                   IWDLabel label =
                        (IWDLabel) view.createElement(
                             IWDLabel.class,
                             attrInfo.getName());
                   label.setText(attrInfo.getName());
                   IWDCheckBox cbx =
                        (IWDCheckBox) view.createElement(
                             IWDCheckBox.class,
                             attrInfo.getName() + "cbx");
                   cbx.bindChecked(attrInfo);
                   label.setLabelFor(cbx.getId());
                   cont.addChild(label);
                   cont.addChild(cbx);
    Now, to create context node in component controller, use following code,
        List list = new ArrayList();
        list.add("Label of check box");
         IWDNodeInfo nodeInfo = UIHandler.createChildNode(wdThis.wdGetTestController().wdGetContext().getNodeInfo(), "Data", list);
         UIHandler.createMappedChildNode(nodeInfo, wdContext.getNodeInfo(), "Data");
    To create check box, use following code in wdModifyView,
        if(firstTime) {
             IWDNode node = wdContext.getChildNode("Data", 0);
             IWDNodeInfo nodeInfo = node.getNodeInfo();
             UIHandler.createCheckBoxes(view, "RootUIElementContainer", nodeInfo);
    And to access the values of the check boxes in different view, put the following code in wdInit()
        IWDNodeInfo nodeInfo = wdThis.wdGetTestController().wdGetContext().getChildNode("Data", 0).getNodeInfo();
        UIHandler.createMappedChildNode(nodeInfo, wdContext.getNodeInfo(), "Data");
    And in wdModifyView
        if(firstTime) {
              IWDNode node = wdContext.getChildNode("Data", 0);
              IWDNodeInfo nodeInfo = node.getNodeInfo();
              UIHandler.createCheckBoxes(view, "RootUIElementContainer", nodeInfo);
    Thanks,
    Puspendu

  • Dynamic display-only checkbox

    How can I make a checkbox display only depending on the value of another item on the page?
    I imagine I need to add a process based on htmldb_item.checkbox but I cannot figure out how
    Thanks
    Mac

    Hi,
    1-If you have a checkbox item , you can use Condition Type =
    Value of item in expression 1 = expression 2
    2-Otherwise with APEX_ITEM.CHECKBOX :
    APEX_ITEM.CHECKBOX(1,PK,
    decode(your_item ,NULL,NULL,your_item )
    3- with javascript, if you need it :
    APEX_ITEM.CHECKBOX(1,PK,
    decode(your_expression ,
    your_search,
    'checked onClick="your_function1" ',
    'null onClick="your_function2" '
    Regards,
    Gregory

  • How to retive the data from ALV display when checkbox clicked

    HI.....
    suppose i have a ALV list with 3 fields and checkbox attached with it.Now if i click any of the checkbox i want to retrieve the data from a particular field from one of the 3 fields.How shal i do that....
    Kind Regards.

    hi
    use the  field catalog property wa_fcat-hotspot = 'X' and then
    in in list display
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
          EXPORTING
            i_callback_program       = g_repid
            i_callback_pf_status_set = 'PFTEST'
    i_callback_user_command  = 'USER_COMMAND_ALV
            is_layout                = l_layout
            it_fieldcat              = it_fcat[]
          TABLES
            t_outtab                 = it_outtab[]
          EXCEPTIONS
            program_error            = 1
            OTHERS                   = 2.
        IF sy-subrc <> 0.
    FORM user_command_alv USING r_ucomm     LIKE sy-ucomm
                                rs_selfield TYPE slis_selfield.
      DATA: l_index      LIKE sy-tabix.
      DATA: l_belnr      TYPE rbkp-belnr.
      DATA: l_gjahr      TYPE rbkp-gjahr.
      DATA: l_awkey      TYPE bkpf-awkey.
      DATA: lwa_bkpf TYPE bkpf.
      CLEAR g_flag.
      IF r_ucomm EQ 'CREATESO'.
        REFRESH it_outsel[].
        LOOP AT it_outtab INTO wa_outtab.
          IF wa_outtab-check = 'X'.
    delete and put in new itab.
          ENDIF.
          CLEAR wa_outtab.
        ENDLOOP.
    shiva

  • How Can i display a checkbox with list of items

    Hi All,
            How can i include a check box beside the list of items in a combo box/list box
    Here is the requirement which i need to display
    i need to do above requirement. i have to display the check boxes  beside the each item.
    i can show the list of items but unable to show the check boxes.
    Can any one help me regarding this.
    Thanks in advance
    Raghu

    Hope this can help u
    <mx:ComboBox id="cmbtheme" labelField="id" width="30" dropdownWidth="100">
      <mx:itemRenderer>
       <mx:Component>
        <mx:HBox horizontalGap="0">
         <mx:CheckBox id="{data.Nid}" label="{data.label}"/>     
        </mx:HBox>
       </mx:Component>
      </mx:itemRenderer>
    </mx:ComboBox>
    Regards,
    Kapil Arora

  • JTable cell color overriding Boolean values displayed as checkboxes. Fix?

    I have a JTable column of Boolean values that automatically appear as checkboxes. When I apply my DefaultTableCellRenderer to this column, the checkbox disappears and a "false" or "true" appears instead. But if I mouseclick on the cell, the checkbox will appear momentarily.
    Any suggestions for getting the Boolean value displayed as a checkbox and seeing my colors change? (I suppose the easy way is using JCheckBox, but I'm curious if I can do it using Boolean)
    Thanks for the help. Code follows for the cell renderer.
    class ColorRenderer extends DefaultTableCellRenderer{
    public ColorRenderer() {
    super();
    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
    if (isSelected == true) {
      setBackground(Color.getHSBColor(100, 100, 1));
      setForeground(Color.BLACK);
    } else {
      setBackground(Color.LIGHT_GRAY);
      setForeground(Color.WHITE);
    if (hasFocus == true) {
      setBackground(Color.RED);
      setForeground(Color.WHITE);
    setOpaque(true);
    setValue(value);
    return this;

    Wouldn't extend DefaultTableCellRenderer as that extends a JLabel
    I would extend a JCheckBox and implement TableCellRenderer.

  • How can i display a CheckBox in one of the column of ALV?

    Hi All,
    I want to dispaly a one  column  of CHECKBOXes in my ALV  Report.so i take attribute CHK_BOX TYPE CHECKBOX in the context.when i testing it doesn't showing any checkboxes.just i shows a ordinary column with name checkbox.
    How can i resolve it?
    Regards,
    Ravi

    Hi Ravi,
    Do the following to set any alv column as Check box .
    create an instance of ALV component
      DATA:
        lr_salv_wd_table_usage TYPE REF TO if_wd_component_usage,
        lr_column_settings     TYPE REF TO if_salv_wd_column_settings,
        lr_input_field         TYPE REF TO cl_salv_wd_uie_input_field,
        lr_chk_box             TYPE REF TO cl_salv_wd_uie_checkbox,
        lr_table_settings      TYPE REF TO if_salv_wd_table_settings,
        lr_salv_wd_table       TYPE REF TO iwci_salv_wd_table,
        lr_column              TYPE REF TO cl_salv_wd_column.
      lr_salv_wd_table_usage = wd_this->wd_cpuse_alv( ).
      IF lr_salv_wd_table_usage->has_active_component( ) IS INITIAL.
        lr_salv_wd_table_usage->create_component( ).
      ENDIF.
      lr_salv_wd_table = wd_this->wd_cpifc_alv( ).
      wd_this->alv_config_table = lr_salv_wd_table->get_model( ).
      lr_table_settings ?= wd_this->alv_config_table.
    * Set ALV as editable
      lr_table_settings->set_read_only( abap_false ).
    * Get Column reference
      CALL METHOD wd_this->alv_config_table->if_salv_wd_column_settings~get_column
        EXPORTING
          id    = 'CURR_ISO'
        RECEIVING
          value = lr_column.
    * Create a checkboc
      CREATE OBJECT lr_chk_box
        EXPORTING
          checked_fieldname = 'CURR_ISO'.
    * Set the cell editor type to the check box.
      CALL METHOD lr_column->set_cell_editor
        EXPORTING
          value = lr_chk_box.
    and to set the check box as editable, do the following.
    lr_table~IF_SALV_WD_TABLE_SETTINGS~SET_READ_ONLY( abap_false ).
    Hope this helps.
    Regards,
    Sravan Varagani

  • Problem to display a checkbox in PDF generated by XML Publisher

    Hi All,
    i need your help,
    i have create and PDF template with checkbox field.
    when i generate the report from Oracle Application using XML Publisher all is fine only the filed checkbox which is inactive, i can't do any check/Uncheck in the filed.
    Thanks for your help.
    T.SENTISSI

    This is very urgent. If someone knows please reply asap.We are all volunteers here, so no ones questions are more urgent then other ones.
    If its that urgent it would have helped if you had chosen the correct forum to ask your question BI Publisher

  • Is there a way to display a checkbox beside each message for moving or deleting more than 1 message at once?

    Embarqs' (now centurylink) mail website has an empty check-box beside each message to make it easier to sort and delete multiple messages at once, instead of moving or deleting them one at a time. Does thunderbird have the same, or a similar option, if so, how can I activate, or display it?
    Thanks,
    Tom S.

    You simply highlight the messages using the standard Windows selection keys. (I assume you're using Windows.)
    To select contiguous messages, select the first one by clicking on it. Scroll to the last message you want to select and click on it while holding down the SHIFT key. All messages between the two will be selected.
    To select non-contiguous messages. Click on each one while holding down the CONTROL (CTRL) key.
    Once the messages are highlighted you can use most operations (such as delete or move) on the lot.

  • 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.

  • How to Edit the CheckBox in Classic ALV GRID Display

    Hi,
    I want to Edit the checkbox in Grid Display.
    I have one checkbox field in my internal Table,
    Code Of the Program,
    Data :
    Begin of itab occurs 0,
    CHK type C,
    MATNR like MARA-MATNR,
    end of itab.
    Iam building the fieldcatelog using Merge Funcion module.
    After that I am chaning the properties of the field
    catelog like below,
    loop at I_FCAT assigning <FCAT>.
    Case <FCAT>-Fieldname
    When 'CHK'.
    <FCAT>-Checkbox = 'X'.
    <FCAT>-INPUT = 'X'.
    I dont have edit option in fieldcatelog.
    modify I_FCAT from <FCAT>.
    endcase.
    endloop.
    In the Layout,
    I_LAYOUT-box_fieldname = 'CHK'.
    I_LAYOUT-box_tabname = 'ITAB'.
    It is displaying the Checkbox field.but I couldnt edit the checkBox.
    I can able to edit in REUSE_ALV_LIST_DISPLAY.
    But I  have to use REUSE_ALV_GRID_DISPLAY.How to edit the checkbox.
    Thanks in Advance,
    Sumithra

    Hi vasu,
    The below procedure explains you to create a checkbox cloumn in the grid and allows you to edit i hope this will helps u.
    The ALV Grid Control displays the cells of a column as checkboxes if the column is marked as a checkbox column in the field catalog.
    •     Add another field to the output table in which you want to display checkboxes
    OR
    •     Define an existing field as a checkbox.
    Procedure
    1.     Add a field to your output table:
    Data: gt_fieldcat type lvc_t_fcat.
    Types: begin of gs_outtab.
    Types: checkbox type c. "field for checkbox
    Include structure <ABAP Dictionary structure> .
    Types: end of gs_outtab.
    Data: gt_outtab type gs_outtab occurs 0 with header line.
    2 * Add an entry for the checkbox to the field catalog
    clear ls_fcat.
    ls_fcat-fieldname = 'CHECKBOX'.
    * Essential: declare field as checkbox and
    * mark it as editable field:
    ls_fcat-checkbox = 'X'.
    ls_fcat-edit = 'X'.
    * do not forget to provide texts for this extra field
    ls_fcat-coltext = text-f01.
    ls_fcat-tooltip = text-f02.
    ls_fcat-seltext = text-f03.
    append ls_fcat to gt_fieldcat.
    regards,
    venu.

  • Checkboxes display as "?" ???

    I've seen a number of postings with people having issues with checkboxes - some displaying the checkboxes as diamonds, and a couple with the checkboxes displaying as question marks. Unfortunately, I didn't see a solution for the checkboxes displaying as question marks. Did anyone have this issue and was able to fix it? I've tried embedding the Windging font in my RTF, and it didn't work. Please share!
    Thanks!
    KH

    I've created the xdo file according to every example I can find, and the log shows that it IS finding the file. However, I keep ending up with the following error message in the log: [EXCEPTION] oracle.xml.parser.v2.XMLParseException: Start of root element expected.
    I'll paste the code in my xdo.cfg file below, but I'm wondering if that error is keeping it from actually reading anything in the file. There's certainly no evidence anywhere else in the log that it's using the fonts within the file... I've searched Metalink already for this error, but didn't come up with anything helpful. Can someone tell me what I've overlooked here? I've tried the file with, and without the first <?xml?> tag - no change...
    ~KH
    *text from xdo.cfg*
    <?xml version = '1.0'?>
    <config version="1.0.0"
    xmlns="http://xmlns.oracle.com/oxp/config/">
    <!-- Properties -->
    <properties>
    <!-- System level properties -->
    <property name="system-temp-dir">/Temp</property>
    </properties>
    <!-- Font settings -->
    <fonts>
    <font family="Wingding" style="normal" weight="normal">
    <truetype path="/fonts/wingding.ttf" />
    </font>
    <font family="Arial" style="normal" weight="normal">
    <truetype path="/fonts/arial.ttf"/>
    </font>
    </fonts>
    </config>

Maybe you are looking for

  • My ICal data does not show up on Subscribers Calendar

    Following all of the instructions how to get my ICal information to another Apple Computer (Macbook Pro) however when we access the Macbook Pro the data from my Calendar does not show up. Calendar is there, just the data does not make it across. Any

  • Switching to DSL: will RP-PPPoE be needed?

    Here's the situation: very soon, I will be switching from my current sucko 128 Kbps service (which plummets to 0 Kbps all too often) to Verizon DSL. I've been reading around in the wiki, and it seems that Verizon is currently using PPPoE for most DSL

  • How to make use of a different data model for a line chart?

    I have a datamodel which is a sql query. I have a line chart on my template which is using some "Start Time" field as X-Axis. There is a chance that "Start Time" is null. In such cases the plotted point doesn't appear with x-coordinate. But I can't c

  • Javascript error during translation in portal

    hi, i am transalating objects from english to italian in portal content translation... but during the implementation i am having javascript errors in portal. there is no problem in the english version.. Snippet of the english javascript <title >XYZ</

  • CKeditor and cfm

    This is probaly a begineers question so apologies if it is a bit basic. It could also be a MySql fix rather than Colfusion! I have a textarea field on a web form using the popular text editor ckeditor. The form is posted to a Coldfusion page and the