EXTJS - Problem in Grid

I have a Grid and lets say we have 2 records in it, First column has checkbox and there is one editable text field in each row. When i select 2 of the records through checkbox the checkboxes are selected as expected but problem is when i click on editable text field of any one record out of the 2 here the check box of other record is getting deselected. Below is the code snippet. Please let me know any solution for this one?
Ext.define('Cp.view.fe.MatchAddressGrid', {
     extend: 'Ext.grid.Panel',
     requires: [
     'Cp.store.fe.FEGridStore'
     alias: 'widget.matchaddressgrid',
     store: 'FEGridStore',
     enableColumnHide: false,
     emptyText: 'No records to display',
     layout: 'fit',
     forceFit: false,
     selModel: Ext.create('Ext.selection.CheckboxModel', {                 
               singleSelect: false,
          sortable: false,
          checkOnly: true,
          stateful: true,
          showHeaderCheckbox: false          
     dockedItems: [{
          xtype: 'pagingtoolbar',
          dock: 'bottom',
          store: 'FEGridStore',
          displayInfo: true,
          displayMsg: 'Displaying Records {0} - {1} of {2}',
          emptyMsg: 'No data to display',
          listeners: {
          afterrender: function() {
          this.down('#refresh').hide();
     plugins: [
          Ext.create('Ext.grid.plugin.CellEditing',{
               clicksToEdit: 1
     columns: {
     items: [],
     defaults: {
     sortable: false,
     width: 80
     initComponent: function() {
     var me = this;
     me.callParent(arguments);
Edited by: 970385 on Jan 14, 2013 7:11 AM

Hi;
After hid & trail solved the problem.. thank uYour welcome If you think you have your answer for your theard; please change thread status to answered if it possible, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
Regard
Helios

Similar Messages

  • Sorting problems in Grid View

    Hi, I'm having a bit of a sorting problem when it comes to an artist with name variations. The example I'm going to use is DJ Tiesto.
    There are album I have where he is credited as DJ Tiesto, and others where he is simply Tiesto.
    In the end, I'd like these albums sorted chronologically under one name (say DJ Tiesto), while still preserving and showing the proper artist name for each album. I have it set to sort by "Album by Year", which is working fine.
    The major problem I am having is that I can't get it to display properly across all iTunes viewing methods: List mode, Grid mode, and Coverflow.
    I've tried leaving the Artist field alone, and changing the Sort Artist field to "DJ Tiesto" for all songs, and that almost works:
    -List mode groups them all under "DJ Tiesto", while showing each albums Artist as the correct artist name.
    -Grid mode sorted by Album groups them all under "DJ Tiesto", while showing each albums Artist as the correct artist name.
    -Coverflow sorts them all in chronological order, while showing each albums Artist as the correct artist name.
    Problem is, Grid mode sorted by ARTIST creates two separate artists! Some for DJ Tiesto and some for Tiesto!
    To correct this I tried changing the Album Artist field for all songs to "DJ Tiesto", which solved that problem but created a bunch of new ones:
    -List mode is still correctly grouping them under "DJ Tiesto", while showing each albums Artist as the correct artist name.
    -Grid mode sorted by Album is still correctly grouping them under "DJ Tiesto", *however now it is not displaying the correct Artist name for each album!*
    -Grid mode sorted by Artist is now grouping them all under "DJ Tiesto", *however it is not displaying the correct Artist name for each album!*
    -Coverflow is sorting them in correct chronological order, *however it as well is not displaying the correct Artist name for each album!*
    Using the Album Artist tag has created more problems that it has solved! Is there anyone who knows a way to achieve what I am trying to do? I have tried seemingly every option I can and have still not found a way to do this!!
    Thanks!

    My own method of working involves renaming the files upon import to:
    i "shotdate_sequencenumber"
    Files are therefore typically named
    b 2007-11-25_001
    etc.
    This way, sorting by Filename automatically sorts by Date by default. And it wouldn't even matter if you added a descriptive text in between the date and number (
    b 2007-11-25_Scotland_001

  • Problems installing Grid Control on sparc 5.8

    problems installing Grid Control on sparc 5.8......After entering the parent directory and clicking next, the "preparing to install, Please wait, this will take a moment" screen comes up. It seems like this goes into an infinite loop. Any ideas?

    Using paramFile: /u02/10gEM/10gEM_R2/install/oraparam.ini
    Checking installer requirements...
    Checking operating system version: must be 5.6, 5.7, 5.8, 5.9 or 5.10. Actual 5.8
    Passed
    Checking Temp space: must be greater than 250 MB. Actual 1777 MB Passed
    Checking swap space: must be greater than 500 MB. Actual 1798 MB Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 256 Passed
    All installer requirements met.
    Checking operating system patches: 108652-66,108921-16,108940-53,108773-18,111310-01,109147-24,111308-03,111111-03,112396-02,110386-03,111023-
    02,108987-13,108528-21,108989-02,108993-18 Passed
    Checking for patch 108652-66; found 108652-66
    Checking for patch 108921-16; found 108921-21
    Checking for patch 108940-53; found 108940-63
    Checking for patch 108773-18; found 108773-18
    Checking for patch 111310-01; found 111310-01
    Checking for patch 109147-24; found 109147-30
    Checking for patch 111308-03; found 111308-05
    Checking for patch 111111-03; found 111111-03
    Checking for patch 112396-02; found 112396-02
    Checking for patch 110386-03; found 110386-03
    Checking for patch 111023-02; found 111023-03
    Checking for patch 108987-13; found 108987-13
    Checking for patch 108528-21; found 108528-29
    Checking for patch 108989-02; found 108989-02
    Checking for patch 108993-18; found 108993-18
    The commandline for unzip:
    /u02/10gEM/10gEM_R2/install/unzip -qqq ../stage/Components/oracle.swd.jre/1.4.2.0.0/1/DataFiles/\*.jar -d /tmp/OraInstall2007-03-14_10-46-21AM
    The commandline for unzip:
    /u02/10gEM/10gEM_R2/install/unzip -qqq ../stage/Components/oracle.swd.oui/10.2.0.1.0/1/DataFiles/\*.jar -d /tmp/OraInstall2007-03-14_10-46-21A
    M
    The commandline for unzip:
    /u02/10gEM/10gEM_R2/install/unzip -qqq ../stage/Components/oracle.swd.oui.core/10.2.0.1.0/1/DataFiles/\*.jar -d /tmp/OraInstall2007-03-14_10-4
    6-21AM
    The number of files bootstrapped for the jre is 640.
    The number of files bootstrapped for the oui is 94.
    Execvp of the child jre : the cmdline is /tmp/OraInstall2007-03-14_10-46-21AM/jre/1.4.2/bin/java, and the argv is
    /tmp/OraInstall2007-03-14_10-46-21AM/jre/1.4.2/bin/java
    -Doracle.installer.library_loc=/tmp/OraInstall2007-03-14_10-46-21AM/oui/lib/solaris
    -Doracle.installer.oui_loc=/tmp/OraInstall2007-03-14_10-46-21AM/oui
    -Doracle.installer.bootstrap=TRUE
    -Doracle.installer.startup_location=/u02/10gEM/10gEM_R2/install
    -Doracle.installer.jre_loc=/tmp/OraInstall2007-03-14_10-46-21AM/jre/1.4.2
    -Doracle.installer.nlsEnabled="TRUE"
    -Doracle.installer.prereqConfigLoc=
    -Doracle.installer.unixVersion=5.8
    -Djava.net.preferIPv4Stack=true
    -mx150m
    -cp
    The commandline for unzip:
    /u02/10gEM/10gEM_R2/install/unzip -qqq ../stage/Components/oracle.swd.oui.core/10.2.0.1.0/1/DataFiles/\*.jar -d /tmp/OraInstall2007-03-14_10-4
    6-21AM
    The number of files bootstrapped for the jre is 640.
    The number of files bootstrapped for the oui is 94.
    Execvp of the child jre : the cmdline is /tmp/OraInstall2007-03-14_10-46-21AM/jre/1.4.2/bin/java, and the argv is
    /tmp/OraInstall2007-03-14_10-46-21AM/jre/1.4.2/bin/java
    -Doracle.installer.library_loc=/tmp/OraInstall2007-03-14_10-46-21AM/oui/lib/solaris
    -Doracle.installer.oui_loc=/tmp/OraInstall2007-03-14_10-46-21AM/oui
    -Doracle.installer.bootstrap=TRUE
    -Doracle.installer.startup_location=/u02/10gEM/10gEM_R2/install
    -Doracle.installer.jre_loc=/tmp/OraInstall2007-03-14_10-46-21AM/jre/1.4.2
    -Doracle.installer.nlsEnabled="TRUE"
    -Doracle.installer.prereqConfigLoc=
    -Doracle.installer.unixVersion=5.8
    -Djava.net.preferIPv4Stack=true
    -mx150m
    -cp
    /tmp/OraInstall2007-03-14_10-46-21AM:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/OraInstaller.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/j
    lib/oneclick.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/xmlparserv2.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/srvm.jar:/tmp/Ora
    Install2007-03-14_10-46-21AM/oui/jlib/share.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/OraInstallerNet.jar:/tmp/OraInstall2007-03-14_10
    -46-21AM/oui/jlib/xml.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/orai18n-collation.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/or
    ai18n-mapping.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/emCfg.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/ojmisc.jar:/tmp/OraIns
    tall2007-03-14_10-46-21AM/oui/jlib/InstImages.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/InstHelp.jar:/tmp/OraInstall2007-03-14_10-46-2
    1AM/oui/jlib/InstHelp_de.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/InstHelp_es.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/InstH
    elp_fr.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/InstHelp_it.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/InstHelp_ja.jar:/tmp/Or
    aInstall2007-03-14_10-46-21AM/oui/jlib/InstHelp_ko.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/InstHelp_pt_BR.jar:/tmp/OraInstall2007-03
    -14_10-46-21AM/oui/jlib/InstHelp_zh_CN.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/InstHelp_zh_TW.jar:/tmp/OraInstall2007-03-14_10-46-21
    AM/oui/jlib/oracle_ice.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/help4.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/help4-nls.jar
    :/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/ewt3.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/ewt3-swingaccess.jar:/tmp/OraInstall2007
    -03-14_10-46-21AM/oui/jlib/ewt3-nls.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/swingaccess.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui
    /jlib/classes12.jar::/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/OraPrereq.jar:/tmp/OraInstall2007-03-14_10-46-21AM/oui/jlib/jewt4.jar:/tmp/
    OraInstall2007-03-14_10-46-21AM/oui/jlib/jewt4-nls.jar:/tmp/OraInstall2007-03-14_10-46-21AM/ext/jlib/em_1click_help.jar:/tmp/OraInstall2007-03
    -14_10-46-21AM/ext/jlib/em_1click_help_de.jar:/tmp/OraInstall2007-03-14_10-46-21AM/ext/jlib/em_1click_help_es.jar:/tmp/OraInstall2007-03-14_10
    -46-21AM/ext/jlib/em_1click_help_fr.jar:/tmp/OraInstall2007-03-14_10-46-21AM/ext/jlib/em_1click_help_it.jar:/tmp/OraInstall2007-03-14_10-46-21
    AM/ext/jlib/em_1click_help_ja.jar:/tmp/OraInstall2007-03-14_10-46-21AM/ext/jlib/em_1click_help_ko.jar:/tmp/OraInstall2007-03-14_10-46-21AM/ext
    /jlib/em_1click_help_pt_BR.jar:/tmp/OraInstall2007-03-14_10-46-21AM/ext/jlib/em_1click_help_zh_CN.jar:/tmp/OraInstall2007-03-14_10-46-21AM/ext
    /jlib/em_1click_help_zh_TW.jar:/tmp/OraInstall2007-03-14_10-46-21AM/ext/jlib/cfmlogger_properties.jar
    oracle.sysman.emgc.oneclick.OneStartup
    -scratchPath
    /tmp/OraInstall2007-03-14_10-46-21AM
    -sourceLoc
    /u02/10gEM/10gEM_R2/install/../stage/products.xml
    -sourceType
    network
    -timestamp
    2007-03-14_10-46-21AM
    -nowelcome

  • Problem with Grid Layouts

    I have problems getting the children to span correctly in grid components. I have set a grid to contain 7 children and set the width of all to 100%. Yet they have varying widths.

    The code should read:
    setLayout( new GridLayout(3, 1) );Note the capital L in layout.

  • Problem With Grid column

    Hi All,
            I designed one Grid consist of five columns.In one of the column, i put the value 5 and i pressed the tab.Then it is showing some other value(Lik 203,125,456) instead of what i type. what is the Problem in that??
    Plz let me know,urgent
    Thanks in Advance
    Oram.

    Hi,
    Try this code,
    Dim dtdataTable, dtdataTable1 As SAPbouiCOM.DataTable
    dtdataTable= objForm.DataSources.DataTables.Add("dtdataTable")
    dtdataTable.Columns.Add("Column1", SAPbouiCOM.BoFieldsType.ft_AlphaNumeric)
    dtdataTable.Columns.Add("Column2", SAPbouiCOM.BoFieldsType.ft_AlphaNumeric)
    dtdataTable= objForm.DataSources.DataTables.Item("dtdataTable")
    dtdataTable1= dtdataTable
    objRecSet.DoQuery(""Query")
    If objRecSet.RecordCount > 0 Then
    For intRow = 0 To objRecSet.RecordCount - 1
    dtdataTable1.Rows.Add()
    dtdataTable1.SetValue("Column1", intLoop, objRecSet.Fields.Item(0).Value)
    dtdataTable1.SetValue("Column2", intLoop, objStdRecSet.Fields.Item(1).Value)
    objRecSet.MoveNext()
    Next
    end if
    Regards,
    Tom.

  • Data Guard Summary problem using Grid Control.

    I setup data guard using Grid Control and after completion, the console of the standby database shows: "Unable to determine Data Guard information." under the Data Guard Summary section. The primary database is not showing the standby. I'm using Red Hat Linux Server 5.7 (64bit) and Oracle 10.2.0.5. This is a standalone (no RAC or ASM involved). When I run show configuration, the following comes up:
    DGMGRL> SHOW CONFIGURATION;
    Configuration
    Name: PRODDB_ghph@ora01
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    ghph - Primary database
    gsbh - Physical standby database (disabled)
    Current status for "PRODDB_ghph@ora01":
    SUCCESS
    I tried searching online and metalink but nothing. Any help in solving this problem would be appreciated. TIA
    Edited by: Gensis2001 on Jan 8, 2013 3:08 PM

    Gensis2001 wrote:
    Does this make any sense?
    SYS@gsbh> SELECT * FROM V$ARCHIVE_GAP;
    no rows selected
    SYS@gsbh> select process, status, sequence# from v$managed_standby;
    PROCESS STATUS SEQUENCE#
    ARCH CLOSING 60353
    ARCH CLOSING 60352
    RFS IDLE 60354
    MR(fg) WAIT_FOR_GAP 58673
    4 rows selected.Currently standby is waiting for the sequence *58673* but the later on archives of series 60353... are already archived.
    Can you confirm that only archive sequence * 58673* is missing or any more? If you have less number of archives are missing then see how the parameters you configured. like FAL_SERVER, LOG_ARCHIVE_CONFIG, LOG_ARCHIVE_DEST_n so on.
    Check below command and see any errors with remote destinations
    select severity,error_code,to_char(timestamp,'DD-MON-YYYY HH24:MI:SS') "timestamp" , message from v$dataguard_status where dest_id=2;Source: http://www.oracle-ckpt.com/dataguard_troubleshoot_snapper/
    If the archives are missing so many and you do not have backup, then certainly you have to choose incremental roll forward to synchronize the primary database, then only you can see the configuration status of Broker as valid. You can refer this article to perform incremental roll forward http://www.oracle-ckpt.com/rman-incremental-backups-to-roll-forward-a-physical-standby-database-2/

  • Problem adding grid items in code

    Hi All
    I've got a problem creating a grid dynamically in code.
    The Grid and the rows are created without a problem and I can reference them, but when I try to add a gridItem I get a 1009 error.
    any ideas?
    for (var j:int = 1; j <= mCols; ++j)
      // add column here
                                                                          lColName = "mR" + i + "col" + j;
                                                                          try {
                                                                                    myRow = mGrid.getChildByName(lRowName) as GridRow;
                                                                          } catch (someError:Error)
                                                                                    erMsg  += "Get row: " + lRowName + someError.message;
                                                                          try {
                                                                                    var mtCol:GridItem = new GridItem();
                                                                                    mtCol.id=lColName;
                                                                          } catch (someError:Error)
                                                                                    erMsg += "Create GridItem: " + lColName + someError.message;
                                                                          try{
      // THis is where the error occurs!
                                                                                    myRow.addChild(mtCol);
                                                                          } catch (someError:Error)
                                                                                    if (chkErr == true)
                                                                                    erMsg += "Add Child: " + lColName + someError.message + "\n";

    Hi,
    Try using an arraycollection as dataprovider for your datagrid:
    Check the last example in the page:
    Passing data to a DataGrid control
    http://livedocs.adobe.com/flex/3/html/help.html?content=dpcontrols_6.html
    If you want to add a row dynamicaly, check this link:
    http://www.switchonthecode.com/tutorials/adding-dynamic-rows-to-flex-datagrid
    Best.

  • Problem with GRID NAVIGATION EFFECTS WITH JQUERY

    Hi All,
    Im having problem with this image gallery with navigation (please see link below to see running demo). I am trying to use the 'Row move' style but am having problems getting the function to work. I have the images and everything set up fine but the actual function/navigation isn't working. I have downloaded all the relevant files to my computer but nothing happens when i click on the arrows. Also all of the 20 images are showing instead of just the 2 rows of 3? There should be 2 rows of 3 iamages showing then when the arrows are clicked the next two rows are shown and so on.
    http://tympanus.net/codrops/2011/06/09/grid-navigation-effects/
    This is the code i have -
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>My gallery</title>
    <link href="stylesheet.css" rel="stylesheet" type="text/css" />
    <link href="gridNavigation.css" rel="stylesheet" type="text/css" />
    <link href="reset.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    body {
              background-color: #000000;
    a:link {
              text-decoration: none;
              color:#f1d379;
    a:visited {
              text-decoration: none;
              color: #f1d379;
    a:hover {
              text-decoration: none;
              color: #9d6f1b;
    a:active {
              text-decoration: none;
              color: #f1d379;
    </style>
            <script type="text/javascript" src="scripts/jquery-1.6.1.min.js"></script>
                        <script type="text/javascript" src="scripts/jquery.easing.1.3.js"></script>
                        <script type="text/javascript" src="scripts/jquery.mousewheel.js"></script>
                        <script type="text/javascript" src="scripts/jquery.gridnav.js"></script>
    <script type="text/javascript">
                                  $(function() {
                                            $('#tj_container').gridnav({
                                                      type          : {
                                                          rows    : 2,
                                                                mode                    : 'rows',                               // use def | fade | seqfade | updown | sequpdown | showhide | disperse | rows
                                                                speed                    : 1000,                                        // for fade, seqfade, updown, sequpdown, showhide, disperse, rows
                                                                easing                    : 'easeInOutBack',          // for fade, seqfade, updown, sequpdown, showhide, disperse, rows
                                                                factor                    : 150,                                        // for seqfade, sequpdown, rows
                                                                reverse                    : ''                                        // for sequpdown
                        </script>
    </head>
    <body>
    <div class="container" id="container">
    <div id="navbar" class="#navbar">
    <ul>
              <li><a  href="index.html">Homepage</a></li>
              <li><a  href="about_me.html" >About me</a></li>
              <li><a  href="gallery.html">Gallery</a></li>
              <li><a  href="contact.html">Contact</a></li>
      </ul>
    </div>
                                                      <div class="tj_nav">
                                                                <span id="tj_prev" class="tj_prev">Previous</span>
                                                                <span id="tj_next" class="tj_next">Next</span>
                                                      </div>
                                                      <div class="tj_wrapper">
                                                                <ul class="tj_gallery">
                                                                          <li><a href="#"><img src="images/1.jpg" alt="image01" /></a></li>
                                                                          <li><a href="#"><img src="images/2.jpg" alt="image02" /></a></li>
                                                                          <li><a href="#"><img src="images/3.jpg" alt="image03" /></a></li>
                                                                          <li><a href="#"><img src="images/4.jpg" alt="image04" /></a></li>
                                                                          <li><a href="#"><img src="images/5.jpg" alt="image05" /></a></li>
                                                                          <li><a href="#"><img src="images/6.jpg" alt="image06" /></a></li>
                                                                          <li><a href="#"><img src="images/7.jpg" alt="image07" /></a></li>
                                                                          <li><a href="#"><img src="images/8.jpg" alt="image08" /></a></li>
                                                                          <li><a href="#"><img src="images/9.jpg" alt="image09" /></a></li>
                                                                          <li><a href="#"><img src="images/10.jpg" alt="image10" /></a></li>
                                                                          <li><a href="#"><img src="images/11.jpg" alt="image11" /></a></li>
                                                                          <li><a href="#"><img src="images/12.jpg" alt="image12" /></a></li>
                                                                          <li><a href="#"><img src="images/13.jpg" alt="image13" /></a></li>
                                                                          <li><a href="#"><img src="images/14.jpg" alt="image14" /></a></li>
                                                                          <li><a href="#"><img src="images/15.jpg" alt="image15" /></a></li>
                                                                          <li><a href="#"><img src="images/16.jpg" alt="image16" /></a></li>
                                                                          <li><a href="#"><img src="images/17.jpg" alt="image17" /></a></li>
                                                                          <li><a href="#"><img src="images/18.jpg" alt="image18" /></a></li>
                                                                          <li><a href="#"><img src="images/19.jpg" alt="image19" /></a></li>
                                                                          <li><a href="#"><img src="images/20.jpg" alt="image20" /></a></li>
                                                        </ul>
                </div>
    </div>
    </body>
    </html>

    Not sure what example you are using but it looks like you have missed out a couple of important <divs> in your code which surround the main <div>:
    If the case of example five:
    <div class="content example5'>
    <div id="tj_container" class="tj_container">
    MAIN STUFF GOES HERE
    </div>
    </div>
    I dont know if its my computer or not but I found the animation a bit flaky.

  • Problems with Grid View Selections

    I'm having problems with multiple selections in the grid view.  I can select multiple files, but as soon as I click on one of the selected files, it deslects all the other files and only highlights the one I clicked on.  I'm also unable to drag any file or files to a Collection or Publish Services.  This has just recently cropped up. I'm using LR 3.2 and have even reinstalled the software from 3.0 but I'm still having the same issue. Any ideas?

    Wow. I feel silly that it could have been such a simple thing.  Seems to have taken care of the problem.  I must not have been paying attention to where I was clicking.  Thanks!

  • Problem in Grid when ExecuteQuery

    Hi all!
    I have a grid that I load via the function ExecuteQuery.
    My problem is that every time I update the grid with this function, however, the columns lose the settings of width and visibility (these settings are reset).
    How can I do to keep these settings???
    Thanks!

    Gianluca - it is a limitation of the grid object that it does not save form settings, or even properties set in your code.
    The workarounds are:
    1. If the widths and visibility settings are being entirely controlled by your addon, you can just call the method to set them every time you query your datatable
    2. Convert the application to use a matrix instead of grid in order to keep form settings persistant.
    The downside of approach 2 is you have to rebind your matrix every time you execute a query, and also of course lose the features of a grid like collapse level etc.
    Sorry I can't be more helpful, but it is just a limitation unfortunately.

  • CF9 problems with Grid and getHeaderPanel

    This code no longer works in CF9
    var grid = ColdFusion.Grid.getGridObject('maingrid');
        var gridHead = grid.getView().getHeaderPanel(true);
        var tbar = new Ext.Toolbar(gridHead);
                tbar.addButton({
                      text:'Add Animated Image',
                      icon:'images/image_add.png',
                      cls:'x-btn-text-icon',
                      tooltip:'Add',
                      handler: function(){
                      var record = grid.getSelections();
                          <-- Do something -->
    I just get an errorError:  grid.getView().getHeaderPanel is not a function
    I've tried numerous alternatives looking through the documentation but I can't get the header of a cfgrid to display buttons anymore in CF9, works fine in CF8, can anyone help

    Wow. I feel silly that it could have been such a simple thing.  Seems to have taken care of the problem.  I must not have been paying attention to where I was clicking.  Thanks!

  • Splitter Problem - ALV Grid not refreshed when selected another item

    Hi Experts!!
    I have a container on screen 100 which has to be split into 3 areas. Left area ->tree, Right top area -alv grid and bottom also alv grid. I created the program without splitter and it was working fine. After I added this splitter, I see that in ALV grid, the data is not being refreshed. When double clicked on an item in tree struct, ALV grid (CL_SALV_TABLE) to be shown.. Firstly it's fine but when I double click on another item, it's not refreshing the data but is showing the same previous data.
    I have searched existing posts and implemented, but no luck.
    PFB my code:
    * In PBO of screen 100
      CREATE OBJECT go_cc_area1
        EXPORTING
          container_name              = 'CC_AREA1'
        EXCEPTIONS
          cntl_error                  = 1
          cntl_system_error           = 2
          create_error                = 3
          lifetime_error              = 4
          lifetime_dynpro_dynpro_link = 5.
      IF sy-subrc <> 0.
        MESSAGE e025 WITH sy-subrc.
      ENDIF.
      CREATE OBJECT go_splitter
        EXPORTING
          parent        = go_cc_area1
          orientation   = 1              "Vertical split
          sash_position = 40
        EXCEPTIONS
          OTHERS        = 1.
      IF sy-subrc <> 0.
      ENDIF.
      go_container_tree  = go_splitter->top_left_container.
      go_container_2 = go_splitter->bottom_right_container.
      CREATE OBJECT go_splitter_2
        EXPORTING
          parent        = go_container_2
          orientation   = 0              "Horizontal split
          sash_position = 40
        EXCEPTIONS
          OTHERS        = 1.
      IF sy-subrc <> 0.
      ENDIF.
      go_cc_area2 = go_splitter_2->top_left_container.
      go_cc_area3 = go_splitter_2->bottom_right_container.
      CREATE OBJECT go_tree
        EXPORTING
          i_parent                    = go_container_tree
          i_node_selection_mode       = cl_gui_column_tree=>node_sel_mode_single
          i_item_selection            = gc_x
          i_no_html_header            = gc_x
          i_no_toolbar                = space
        EXCEPTIONS
          cntl_error                  = 1
          cntl_system_error           = 2
          create_error                = 3
          lifetime_error              = 4
          illegal_node_selection_mode = 5
          failed                      = 6
          illegal_column_name         = 7.
        CALL METHOD go_tree->set_table_for_first_display
          EXPORTING
            i_background_id = space
            is_layout       = gs_layout
          CHANGING
            it_sort         = gt_sort
            it_outtab       = gt_tree_output
            it_fieldcatalog = gt_fieldcat_tree.
        CALL METHOD go_tree->expand_tree
          EXPORTING
            i_level = 2.
    * End - PBO 100
    *       CLASS lcl_tree_event_receiver DEFINITION
    CLASS lcl_tree_event_receiver DEFINITION.
      PUBLIC SECTION.
        METHODS: handle_item_double_click
                   FOR EVENT item_double_click OF cl_gui_alv_tree_simple
                   IMPORTING fieldname
                             index_outtab
                             grouplevel.
    ENDCLASS.                    "lcl_tree_event_receiver DEFINITION
    *       CLASS lcl_tree_event_receiver IMPLEMENTATION
    CLASS lcl_tree_event_receiver IMPLEMENTATION.
      METHOD handle_item_double_click.
          IF go_alv_area2 IS BOUND.
            go_alv_area2->refresh( ).
          ENDIF.
          cl_salv_table=>factory(
            EXPORTING
              list_display   = space
              r_container    = go_cc_area2
            IMPORTING
              r_salv_table = go_alv_area2
            CHANGING
              t_table      = gt_table ).
          go_alv_area2->display( ).
      ENDMETHOD.                    "handle_item_double_click
    ENDCLASS.                    "lcl_tree_event_receiver IMPLEMENTATION
    I am facing the same problem with area 3 as well. Can somebody please help me out.
    Thanks a lot!!
    Edited by: Srinivas Kalluri on Jan 28, 2012 1:39 PM

    Hi All,
    I am still facing this problem. Can somebody please help me out?
    I created a test program wth sflight and spfli tables. Can somebody look into this and tell me where I am going wrong?
    On screen 100 i have one cust container named CC.
    When I test it, it's showing the same refresh problem. But in this test program refresh is atleast happening once.
    REPORT ztest.
    PARAMETERS: p_carrid TYPE sflight-carrid.
    CLASS lcl_tree_event_receiver DEFINITION DEFERRED.
    CONSTANTS: gc_x VALUE 'X'.
    DATA: go_cc_area1 TYPE REF TO cl_gui_custom_container,
          go_tree TYPE REF TO cl_gui_alv_tree_simple,
          go_tree_event_receiver TYPE REF TO lcl_tree_event_receiver,
          go_cc_area2 TYPE REF TO cl_gui_container,
          go_alv_area2 TYPE REF TO cl_salv_table,
          go_cc_area3 TYPE REF TO cl_gui_container,
          go_columns TYPE REF TO cl_salv_columns_table,
          go_cc_editor TYPE REF TO cl_gui_custom_container,
          go_editor TYPE REF TO cl_gui_textedit,
          go_content TYPE REF TO cl_salv_form_element,
          go_container_tree TYPE REF TO cl_gui_container,
          go_container_2 TYPE REF TO cl_gui_container,
          go_splitter TYPE REF TO cl_gui_easy_splitter_container,
          go_splitter_2 TYPE REF TO cl_gui_easy_splitter_container,
          go_cc_comp TYPE REF TO cl_gui_custom_container,
          go_alv_comp TYPE REF TO cl_salv_table.
    DATA: gt_sflight TYPE TABLE OF sflight,
          gt_data TYPE TABLE OF spfli,
          gt_fieldcat TYPE lvc_t_fcat,
          gt_sort TYPE lvc_t_sort,
          gs_sflight TYPE sflight,
          gs_layout TYPE lvc_s_layo.
    *       CLASS lcl_tree_event_receiver DEFINITION
    CLASS lcl_tree_event_receiver DEFINITION.
      PUBLIC SECTION.
        METHODS: handle_item_double_click
                   FOR EVENT item_double_click OF cl_gui_alv_tree_simple
                   IMPORTING fieldname
                             index_outtab
                             grouplevel.
    ENDCLASS.                    "lcl_tree_event_receiver DEFINITION
    *       CLASS lcl_tree_event_receiver IMPLEMENTATION
    CLASS lcl_tree_event_receiver IMPLEMENTATION.
      METHOD handle_item_double_click.
        READ TABLE gt_sflight INTO gs_sflight INDEX index_outtab.
        IF sy-subrc EQ 0.
          SELECT * FROM spfli INTO TABLE gt_data WHERE connid = gs_sflight-connid.
          IF go_alv_area2 IS BOUND.
            go_alv_area2->refresh( ).
            cl_gui_cfw=>flush( ).
          ENDIF.
          cl_salv_table=>factory(
            EXPORTING
              r_container    = go_cc_area2
            IMPORTING
              r_salv_table = go_alv_area2
            CHANGING
              t_table      = gt_data ).
          go_alv_area2->display( ).
        ENDIF.
      ENDMETHOD.                    "handle_item_double_click
    ENDCLASS.                    "lcl_tree_event_receiver IMPLEMENTATION
    START-OF-SELECTION.
      CALL SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'MAIN'.
    *  SET TITLEBAR 'xxx'.
      CREATE OBJECT go_cc_area1
        EXPORTING
          container_name              = 'CC'
        EXCEPTIONS
          cntl_error                  = 1
          cntl_system_error           = 2
          create_error                = 3
          lifetime_error              = 4
          lifetime_dynpro_dynpro_link = 5.
      IF sy-subrc <> 0.
    *    MESSAGE e025 WITH sy-subrc text-e01.
      ENDIF.
      CREATE OBJECT go_splitter
        EXPORTING
          parent            = go_cc_area1
          orientation       = 1              "Vertical split
          sash_position     = 25
        EXCEPTIONS
          cntl_error        = 1
          cntl_system_error = 2
          OTHERS            = 3.
      IF sy-subrc <> 0.
    *    MESSAGE e025 WITH sy-subrc text-e02.
      ENDIF.
      go_container_tree  = go_splitter->top_left_container.
      go_container_2 = go_splitter->bottom_right_container.
      CREATE OBJECT go_splitter_2
        EXPORTING
          parent            = go_container_2
          orientation       = 0              "Horizontal split
          sash_position     = 40
        EXCEPTIONS
          cntl_error        = 1
          cntl_system_error = 2
          OTHERS            = 3.
      IF sy-subrc <> 0.
    *    MESSAGE e025 WITH sy-subrc text-e02.
      ENDIF.
      go_cc_area2 = go_splitter_2->top_left_container.
      CREATE OBJECT go_tree
        EXPORTING
          i_parent                    = go_container_tree
          i_node_selection_mode       = cl_gui_column_tree=>node_sel_mode_single
          i_item_selection            = gc_x
          i_no_html_header            = gc_x
          i_no_toolbar                = space
        EXCEPTIONS
          cntl_error                  = 1
          cntl_system_error           = 2
          create_error                = 3
          lifetime_error              = 4
          illegal_node_selection_mode = 5
          failed                      = 6
          illegal_column_name         = 7.
      IF sy-subrc <> 0.
    *    MESSAGE e025 WITH sy-subrc text-e03.
      ENDIF.
      SELECT * FROM sflight INTO TABLE gt_sflight WHERE carrid EQ p_carrid.
        CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
          EXPORTING
            i_structure_name       = 'SFLIGHT'
            i_bypassing_buffer     = gc_x
          CHANGING
            ct_fieldcat            = gt_fieldcat
          EXCEPTIONS
            inconsistent_interface = 1
            program_error          = 2
            OTHERS                 = 3.
        IF sy-subrc <> 0.
    *      MESSAGE e025 WITH sy-subrc text-e05.
        ENDIF.
        DATA: ls_fieldcatalog TYPE lvc_s_fcat.
        LOOP AT gt_fieldcat INTO ls_fieldcatalog.
          ls_fieldcatalog-col_opt = gc_x.
          CASE ls_fieldcatalog-fieldname.
            WHEN 'CARRID'.
              ls_fieldcatalog-no_out = gc_x.
            WHEN 'CONNID'.
              ls_fieldcatalog-no_out = gc_x.
          ENDCASE.
          MODIFY gt_fieldcat FROM ls_fieldcatalog.
          CLEAR ls_fieldcatalog.
        ENDLOOP.
        DATA: ls_sort TYPE lvc_s_sort.
        ls_sort-spos = 1.
        ls_sort-fieldname = 'CARRID'.
        ls_sort-up = gc_x.
        APPEND ls_sort TO gt_sort.
        ls_sort-spos = 2.
        ls_sort-fieldname = 'CONNID'.
        ls_sort-up = gc_x.
        APPEND ls_sort TO gt_sort.
        DATA: lt_events TYPE cntl_simple_events,
              lo_l_event TYPE cntl_simple_event.
        lo_l_event-eventid = cl_gui_column_tree=>eventid_node_context_menu_req.
        APPEND lo_l_event TO lt_events.
        lo_l_event-eventid = cl_gui_column_tree=>eventid_item_context_menu_req.
        APPEND lo_l_event TO lt_events.
        lo_l_event-eventid = cl_gui_column_tree=>eventid_header_context_men_req.
        APPEND lo_l_event TO lt_events.
        lo_l_event-eventid = cl_gui_column_tree=>eventid_expand_no_children.
        APPEND lo_l_event TO lt_events.
        lo_l_event-eventid = cl_gui_column_tree=>eventid_item_double_click.
        APPEND lo_l_event TO lt_events.
        lo_l_event-eventid = cl_gui_column_tree=>eventid_button_click.
        APPEND lo_l_event TO lt_events.
        lo_l_event-eventid = cl_gui_column_tree=>eventid_node_double_click.
        APPEND lo_l_event TO lt_events.
        CALL METHOD go_tree->set_registered_events
          EXPORTING
            events                    = lt_events
          EXCEPTIONS
            cntl_error                = 1
            cntl_system_error         = 2
            illegal_event_combination = 3.
    * Set Handler
        CREATE OBJECT go_tree_event_receiver.
        SET HANDLER go_tree_event_receiver->handle_item_double_click FOR go_tree.
        CALL METHOD go_tree->set_table_for_first_display
          EXPORTING
            i_background_id = space
            is_layout       = gs_layout
          CHANGING
            it_sort         = gt_sort
            it_outtab       = gt_sflight
            it_fieldcatalog = gt_fieldcat.
        CALL METHOD go_tree->expand_tree
          EXPORTING
            i_level = 2.
        IF NOT gt_sflight[] IS INITIAL.
          CALL METHOD go_tree->set_top_node
            EXPORTING
              i_index_outtab = 0.
        ENDIF.
    * Send data to frontend.
        CALL METHOD go_tree->frontend_update.
      ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE user_command_0100 INPUT.
      CASE sy-ucomm.
        WHEN 'BACK'.
          SET SCREEN 0.
          LEAVE SCREEN.
        WHEN OTHERS.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    Edited by: Srinivas Kalluri on Jan 31, 2012 4:49 PM

  • How to solve text wrapping problem in grid

    I have create a simple ui with grid  and contains a long paragraph text. However the text will not break line to another paragraph and expand the UI width.
    BView.xaml
    <UserControl x:Class="SimpleUI.Views.BView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:resources="clr-namespace:SimpleUI.Properties"
    xmlns:view="clr-namespace:SimpleUI.Views"
    mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
    <Grid.RowDefinitions>
    <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="Auto" />
    <ColumnDefinition Width="5" />
    <ColumnDefinition Width="Auto" />
    </Grid.ColumnDefinitions>
    <GroupBox Grid.Column="0" Grid.Row="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Header="{x:Static resources:Resources.Course}">
    <Grid>
    <Grid.RowDefinitions>
    <RowDefinition Height="10" />
    <RowDefinition Height="Auto" />
    <RowDefinition Height="10" />
    <RowDefinition Height="Auto" />
    <RowDefinition Height="10" />
    <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width=".2*"/>
    <ColumnDefinition Width="2" />
    <ColumnDefinition Width=".2*"/>
    <ColumnDefinition Width="2" />
    <ColumnDefinition Width=".2*"/>
    <ColumnDefinition Width="2" />
    </Grid.ColumnDefinitions>
    <UniformGrid Grid.Column="0" Grid.Row="1" Columns="2" Grid.ColumnSpan="6" HorizontalAlignment="Center" VerticalAlignment="Center">
    <RadioButton Margin="0, 0, 10, 0" GroupName="ClassType" Content="{x:Static resources:Resources.ClassA}" />
    <RadioButton Margin="0, 0, 10, 0" GroupName="ClassType" Content="{x:Static resources:Resources.ClassB}" />
    </UniformGrid>
    <Border Grid.Column="0" Grid.Row="3" Grid.ColumnSpan="6" BorderThickness="1" Padding="9" BorderBrush="LightGray">
    <Grid>
    <Grid.RowDefinitions>
    <RowDefinition Height="Auto"/>
    <RowDefinition Height="10" />
    <RowDefinition Height="Auto"/>
    <RowDefinition Height="10" />
    <RowDefinition Height="Auto"/>
    <RowDefinition Height="2" />
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width=".3*" />
    <ColumnDefinition Width="10"/>
    <ColumnDefinition Width=".25*" />
    <ColumnDefinition Width="10"/>
    <ColumnDefinition Width=".25*" />
    </Grid.ColumnDefinitions>
    <TextBlock Grid.Column="0" Grid.Row="0" Text="{x:Static resources:Resources.MaterialA}" />
    <TextBox Grid.Column="2" Grid.Row="0" Width="120" />
    <ComboBox Grid.Column="4" Grid.Row="0" Width="120"/>
    <TextBlock Grid.Column="0" Grid.Row="2" Text="{x:Static resources:Resources.MaterialB}" />
    <TextBox Grid.Column="2" Grid.Row="2" Width="120" />
    <ComboBox Grid.Column="4" Grid.Row="2" Width="120" />
    <TextBlock Grid.Column="0" Grid.Row="4" Text="{x:Static resources:Resources.MaterialC}" />
    <TextBox Grid.Column="2" Grid.Row="4" Width="120" />
    <ComboBox Grid.Column="4" Grid.Row="4" Width="120" />
    </Grid>
    </Border>
    <view:MessageView Grid.Column="0" Grid.Row="5" />
    </Grid>
    </GroupBox>
    </Grid>
    </UserControl>
    MessageView.xaml
    <UserControl x:Class="SimpleUI.Views.MessageView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:resources="clr-namespace:SimpleUI.Properties"
    mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
    <Grid.RowDefinitions>
    <RowDefinition Height="Auto" />
    <RowDefinition Height="10" />
    <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>
    <TextBlock Grid.Row="0" Text="{x:Static resources:Resources.Error}" TextTrimming="None" FontWeight="UltraBold" />
    <TextBlock Grid.Row="2" Text="{x:Static resources:Resources.ErrorDescription}" TextAlignment="Justify" TextWrapping="Wrap" VerticalAlignment="Center" />
    </Grid>
    </UserControl>
    MainWindow.xaml
    <UserControl x:Class="SimpleUI.Views.MessageView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:resources="clr-namespace:SimpleUI.Properties"
    mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
    <Grid.RowDefinitions>
    <RowDefinition Height="Auto" />
    <RowDefinition Height="10" />
    <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>
    <TextBlock Grid.Row="0" Text="{x:Static resources:Resources.Error}" TextTrimming="None" FontWeight="UltraBold" />
    <TextBlock Grid.Row="2" Text="{x:Static resources:Resources.ErrorDescription}" TextAlignment="Justify" TextWrapping="Wrap" VerticalAlignment="Center" />
    </Grid>
    </UserControl>
    Target Result
    Download Sample Project

    Here is updated code for BView.xaml. It will fix the problem
    <UserControl x:Class="SimpleUI.Views.BView"
                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                 xmlns:resources="clr-namespace:SimpleUI.Properties"
                 xmlns:view="clr-namespace:SimpleUI.Views">
        <GroupBox Header="{x:Static resources:Resources.Course}">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="10" />
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="10" />
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="10" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>
                <UniformGrid Grid.Row="1"
                             Columns="2"
                             HorizontalAlignment="Center"
                             VerticalAlignment="Center">
                    <RadioButton Margin="0, 0, 10, 0"
                                 GroupName="ClassType"
                                 Content="{x:Static resources:Resources.ClassA}" />
                    <RadioButton Margin="0, 0, 10, 0"
                                 GroupName="ClassType"
                                 Content="{x:Static resources:Resources.ClassB}" />
                </UniformGrid>
                <Border Grid.Row="3"
                        BorderThickness="1"
                        Padding="9"
                        BorderBrush="LightGray">
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="10" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="10" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="2" />
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="10" />
                            <ColumnDefinition Width="*" />
                            <ColumnDefinition Width="10" />
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>
                        <TextBlock Grid.Column="0"
                                   Grid.Row="0"
                                   Text="{x:Static resources:Resources.MaterialA}" />
                        <TextBox Grid.Column="2"
                                 Grid.Row="0"
                                 Width="120" />
                        <ComboBox Grid.Column="4"
                                  Grid.Row="0"
                                  Width="120" />
                        <TextBlock Grid.Column="0"
                                   Grid.Row="2"
                                   Text="{x:Static resources:Resources.MaterialB}" />
                        <TextBox Grid.Column="2"
                                 Grid.Row="2"
                                 Width="120" />
                        <ComboBox Grid.Column="4"
                                  Grid.Row="2"
                                  Width="120" />
                        <TextBlock Grid.Column="0"
                                   Grid.Row="4"
                                   Text="{x:Static resources:Resources.MaterialC}" />
                        <TextBox Grid.Column="2"
                                 Grid.Row="4"
                                 Width="120" />
                        <ComboBox Grid.Column="4"
                                  Grid.Row="4"
                                  Width="120" />
                    </Grid>
                </Border>
                <view:MessageView Grid.Row="5" />
            </Grid>
        </GroupBox>
    </UserControl>

  • Problem in grid control

    Hi all,
    I am facing below problem in our grid control
    Target Name=emrep
    Target type=Database Instance
    Host=tfoisapp2
    Occurred At=Jan 20, 2012 3:11:50 PM IST
    Message=Failed to connect to database instance: ORA-12519: TNS:no appropriate service handler found (DBD ERROR: OCIServerAttach).
    Severity=Critical
    Acknowledged=No
    Notification Rule Name=TEST
    Notification Rule Owner=SYSMAN
    Our management repository database is up & running. Unable to stop OMS services
    With Regards,
    Jenny John

    Hi;
    After hid & trail solved the problem.. thank uYour welcome If you think you have your answer for your theard; please change thread status to answered if it possible, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Docking Container Problem - 2 GRID's in one screen

    Hi Friends,
    I am not getting any output from the below code. Help me to achieve this.
    Regards,
    Viji.
    REPORT ZTEST_ALV1234567 .
    TYPE-POOLS: slis.
    * Tables
    TABLES: mara.
    TYPES: BEGIN OF ty_name,
            name TYPE char10,
            age TYPE i,
           END OF ty_name.
    TYPES: BEGIN OF ty_marks,
            sub1 TYPE i,
            sub2 TYPE i,
            total TYPE i,
           END OF ty_marks.
    TYPES: BEGIN OF ty_phone,
            phnum TYPE char10,
           END OF ty_phone.
    TYPES: BEGIN OF ty_addr,
            address TYPE char20,
           END OF ty_addr .
    * Output internal table
    DATA: itab TYPE TABLE OF ty_name,
          wa TYPE ty_name,
          itab1 TYPE TABLE OF ty_marks,
          wa1 TYPE ty_marks.
    * ALV Grid
    DATA: r_grid TYPE REF TO cl_gui_alv_grid,
          r_grid1 TYPE REF TO cl_gui_alv_grid,
          g_dock TYPE REF TO cl_gui_docking_container,
          g_dock1 TYPE REF TO cl_gui_docking_container,
          it_fieldcat TYPE lvc_t_fcat,
          it_fieldcat1 TYPE lvc_t_fcat,
          wa_fieldcat TYPE lvc_s_fcat.
    START-OF-SELECTION.
      wa-name = 'TEST01'.
      wa-age = '1'.
      APPEND wa TO itab.
      wa-name = 'TEST02'.
      wa-age = '2'.
      APPEND wa TO itab.
      wa-name = 'TEST03'.
      wa-age = '3'.
      APPEND wa TO itab.
      wa1-sub1 = '11'.
      wa1-sub2 = '22'.
      wa1-total = wa1-sub1 + wa1-sub2.
      APPEND wa1 TO itab1.
      wa1-sub1 = '22'.
      wa1-sub2 = '33'.
      wa1-total = wa1-sub1 + wa1-sub2.
      APPEND wa1 TO itab1.
      CALL SCREEN 100.
    *& Module STATUS_0100 OUTPUT
    * text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'LISTOUT1'.
      SET TITLEBAR 'LIST1'.
      wa_fieldcat-fieldname = 'NAME'.
      wa_fieldcat-seltext = 'NAME OF THE STUDENT'.
      wa_fieldcat-coltext = 'NAME OF THE STUDENT'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
      wa_fieldcat-fieldname = 'AGE'.
      wa_fieldcat-seltext = 'AGE OF THE STUDENT'.
      wa_fieldcat-coltext = 'AGE OF THE STUDENT'.
      APPEND wa_fieldcat TO it_fieldcat.
      wa_fieldcat-fieldname = 'SUB1'.
      wa_fieldcat-seltext = 'SUBJECT1'.
      wa_fieldcat-coltext = 'SUBJECT1'.
      APPEND wa_fieldcat TO it_fieldcat1.
      wa_fieldcat-fieldname = 'SUB2'.
      wa_fieldcat-seltext = 'SUBJECT2'.
      wa_fieldcat-coltext = 'SUBJECT2'.
      APPEND wa_fieldcat TO it_fieldcat1.
      wa_fieldcat-fieldname = 'TOTAL'.
      wa_fieldcat-seltext = 'TOTAL'.
      wa_fieldcat-coltext = 'TOTAL'.
      APPEND wa_fieldcat TO it_fieldcat1.
      IF g_dock IS INITIAL.
        CREATE OBJECT g_dock
              EXPORTING repid = sy-repid
                        dynnr = sy-dynnr side = g_dock->dock_at_top
                        extension = 300.
        CREATE OBJECT r_grid
              EXPORTING i_parent = g_dock.
      ENDIF.
      IF g_dock1 IS INITIAL.
        CREATE OBJECT g_dock1
              EXPORTING repid = sy-repid
                        dynnr = sy-dynnr side = g_dock1->dock_at_bottom
                        extension = 300.
        CREATE OBJECT r_grid1
              EXPORTING i_parent = g_dock1.
      ENDIF.
        IF NOT itab[] IS INITIAL.
          CALL METHOD r_grid->set_table_for_first_display
                CHANGING it_outtab = itab
                         it_fieldcatalog = it_fieldcat.
        ENDIF.
        IF NOT itab1[] IS INITIAL.
          CALL METHOD r_grid1->set_table_for_first_display
                CHANGING it_outtab = itab1
                         it_fieldcatalog = it_fieldcat1.
        ENDIF.
    ENDMODULE. " STATUS_0100 OUTPUT
    *& Module USER_COMMAND_0100 INPUT
    * text
    MODULE user_command_0100 INPUT.
      CASE sy-ucomm.
        WHEN 'BACK'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE. " USER_COMMAND_0100 INPUT
    *& Module EXIT INPUT
    * text
    MODULE exit INPUT.
      CALL METHOD g_dock->free.
      CALL METHOD g_dock1->free.
    ENDMODULE. " EXIT INPUT

    I am getting the output.. if you are not getting the output still then ....
    The issue is that you didn't uncomment the PBO and PAI modules. try to uncomment them and test it again.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.

Maybe you are looking for

  • How do i know that whether a screen guard is put over my screen or not?

    Plz help me!!

  • Add unit to a key figure

    Hi group!!! I need to add a unit of measure( i have it as char) to a calculated key figure in the report.  I have done it several times when it is key figure by adding the unit when editing. I do not find the way when it is a "calculated key figure"

  • Indesign 5.5 keeps crashing when opening. Mac O.S 10.6.8

    Whenever I open Indesign on my mac I get all the way to the start up menu. From there if I try and open a new document Indesign just freezes up. I have tried installing and reinstalling but nothing is doing the trick. I have O.S 10.6.8. PLEASE HELP!

  • TP3 bug when exposing app module to web service

    Hello, I created a simple appmodule with 3 methods: public class AppModuleTestImpl extends ApplicationModuleImplApp     /**This is the default constructor (do not remove).     public AppModuleTestImpl()     public String method1()         return "hel

  • 5310 Voice Recorder

    I have noticed that on the 5310 XpressMusic the voice recorder has a maximum record time of 58 Seconds. Is there a way to change this to a higher capacity? Since the phone does come with a 1 Gig card. Any help would be appreciated. Thanks Message Edi