Button is not coming in the first row of a table view

Hi,
I am having an assignment block in which i have added a button in DO_PREPARE_OUTPUT method. It is displaying in the second line in the header of the table view and the first line shows the excel and personalization buttons. I want all these buttons to display on the same line in the assignment block.
the .html code is below
   <%@page language="abap" %>
<%@extension name="thtmlb" prefix="thtmlb" %>
<%@extension name="chtmlb" prefix="chtmlb" %>
<%@extension name="bsp" prefix="bsp" %>
<%@extension name="tajax" prefix="tajax" %>
<%
  data: lv_xml          type string value is initial.
  DATA: lv_displayMode  TYPE crmt_boolean.
  lv_xml    = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
  lv_displayMode = controller->view_group_context->is_view_in_display_mode( controller ).
%>
<%
  IF lv_displayMode eq abap_true.
%>
<%--<chtmlb:tableExtension tableId = "ResultList"
                       layout  = "FIXED" >--%>
<chtmlb:configTable id                    = "Table"
                    navigationMode        = "BYPAGE"
                    onRowSelection        = "select"
                    selectedRowIndex      = "<%= ADMINS->SELECTED_INDEX %>"
                    selectedRowIndexTable = "<%= ADMINS->SELECTION_TAB %>"
                    selectionMode         = "<%= ADMINS->SELECTION_MODE %>"
                    table                 = "//ADMINS/Table"
                    usage                 = "ASSIGNMENTBLOCK"
                    visibleRowCount       = "6"
<%--                    actions          = "<%= controller->gt_button %>"--%>
<%--                    actionsMaxInRow       = "6"--%>
                    width                 = "100%"
<%--                    headerVisible         = "TRUE"--%>
                    hasLeadSelection      = "X"
                    personalizable        = "FALSE"
                    downloadToExcel       = "FALSE"
                    showNoMatchText       = "FALSE"
                     />
<%--</chtmlb:tableExtension>                     --%>
<%
  ELSE .
%>
<chtmlb:tableExtension tableId = "Table"
                       layout  = "FIXED" >
<chtmlb:configTable id               = "Table"
                    displayMode      = "<%= lv_displayMode %>"
                    navigationMode   = "BYPAGE"
                    onRowSelection   = "select"
                    selectedRowIndex = "<%= ADMINS->selected_index %>"
                    table            = "//ADMINS/Table"
                    usage            = "ASSIGNMENTBLOCK"
                    visibleRowCount  = "6"
                    selectionMode    = "<%= ADMINS->SELECTION_MODE %>"
                    allRowsEditable  = "TRUE"
                    personalizable   = "FALSE"
                    downloadToExcel  = "FALSE"
                    headerVisible    = "TRUE"
                    hasLeadSelection = "X"
                    visibleFirstRow       = "<%= ADMINS->visible_first_row_index %>"
                    actions          = "<%= controller->gt_button %>"
<%--                actionsMaxInRow       = "6"--%>
                    width            = "100%" />
</chtmlb:tableExtension>
<%
  ENDIF .
%>
Could you please let me know where i went wrong.

In your code
if(rs.next()){
  depflights = new ArrayList();
   while(rs.next()){ ...when you call rs.next() in the if statement, the resultset cursor has been placed on the first record and you are not reading it. So, you never get the first record.
Change your code to remove that if condition and simply initialize the ArrayList.

Similar Messages

  • How to highlight the first row of a table

    When entering the form, how do I get the first row of the table to be highlighted when it has not been selected yet? There is already data in the table. Thanks.
    Allyson

    Any ideas on what would cause this NOT to work? I added this row right after the table is created and populated and it is still not highlighted when I enter the form. The snippet of code that does this is:
    MyTableModel modelS = (MyTableModel)dataModel.get("S");
    jTable1 = new JTable(modelS);
    jTable1.setRowSelectionInterval(0,0);MyTableModel is this:
    class MyTableModel extends DefaultTableModel {
      public MyTableModel(Object[] columnNames, int numRows) {
        super(columnNames, numRows);
      public boolean isCellEditable(int row, int column) {
        if (TableKey == 'S') {
          if (column == 6) {
            return false;
        if (TableKey == 'O') {
          if (column == 0 || column == 4 || column == 5) {
            return false;
        if (TableKey == 'P') {
          return false;
      return true;
    }Can anyone help? Thanks.
    Allyson

  • How do I turn off the shading on the first row of my Table?

    I have to type a lot of information in, and managed to get a "Table" going in my Pages Document.
    Unfortunately, and for a reason that seems to be inexplicable to me, the top row of the table is shaded. Sort of like a Half-tone or Zippatone sort of graphic effect. Or whatever you call it. Maybe a lot of people like that sort of thing, but not me.
    How do I turn off the shading on the top row of my table?

    The top row of the table is a header row, the 1st column is too. They are both light grey to differentiate them from normal rows and columns.
    If you don't need the special headers you can remove them. Select & right click Delete works as does turning them off using the table icons on the right of the format bar.
    If you need the headers but don't like the colour just remove it via the fill option on the format bar and in the inspector.
    The pdf guide will help to get you up to speed too.

  • Buttons are not displayed for the first time when drawImage method is used

    Hi
    In my swing window 2 buttons are there and when clicking these buttons, it should display an image . The two buttons are displayed at the first time and I can click on it . While clicking a button , the corresponding image is also got displayed. [ I am using drawImage() function for it] But what the problem is, then the two buttons are not displayed and it will be displayed again when the mouse moves along the position of these two buttons. And this problem occurs only at the first time..When they are on the window on a second time, they won't vanish when the image is displayed when clicking it. Is this the problem with paint() method?. I am using start() method also.
    Please help me!
    Thank You

    Hi
    This is not my exact program, that has a large no: of code. So I am putting here a sample one. One thing I would like to point out is that , I can see the buttons at the time of loading the applet and suddenly it vanishes and the image is drawn. Then if I move the mouse along the position of these buttons , they got displayed.
    import java.awt.*;
    import javax.swing.*;
    /*<applet code = MyClass width = 500 height = 500>
    </applet>
    public class MyClass extends JApplet
    Image img;
    JButton b1,b2;
    Container cp;
    Canvas1 cv;
    class Canvas1 extends JPanel
    public void paint(Graphics g)
    super.paint(g);
    g.setColor(Color.black);
    g.fillRect(0,0,500,500);
    img = getImage(getCodeBase(),"image1.jpeg");
    g.drawImage(img,20,20,this);
    public void start()
    cv = new Canvas1();
    cv.setBounds(0,0,500,500);
    cp.add(cv);
    public void init()
    setLayout(null);
    cp = getContentPane();
    b1 = new JButton("Button1");
    b1.setBounds(1,1,100,30);
    cp.add(b1);
    b2 = new JButton("Button2");
    b2.setBounds(200,1,100,30);
    cp.add(b2);
    It would be very helpful to me if you could fix the problem.
    Thank You.

  • Review Quiz button does not navigate to the first quiz question..

    Hi,
    so I have created an interactive software simulation guide for users of my organisation. At the end of this guide there is a quiz (multiple choice, true or false questions) with 15 slides. At the end of the quiz the results screen is displayed with the "Review Quiz" button. Clicking this navigates the user to slide 72/245 rather than the beginning of the quiz, the first question.
    How can this be fixed?!
    Many thanks,
    Achello

    You have an interactive object somewhere on that slide that is scored to be added to the quiz.
    Open the Advanced Interaction dialog (F9) and look for the object there.  Remove the score.

  • BUG - First create actually replaces the first row of the table

    I would like to be able to add new rows to a table and bound the create function to the button. The issue I encounter is the first time I press the button it instead actually changes the first row to be the newly inserted row instead of adding a new row. I have attached the code for my button below, it is very strange. Am I doing something incorrectly? I have the table I'm inserting into bound to the page and I can see the row actually get replaced even though all I am calling is a create method. Is this a bug? Any help would be appreciated. Code is below, I am simply setting the values for the create method prior to the call to the operationbinding:
    public String appendButton_action() {
    BindingContainer bindings;
    bindings = getBindings();
    FacesContext ctx = FacesContext.getCurrentInstance();
    Application app = ctx.getApplication();
    ctx = FacesContext.getCurrentInstance();
    app = ctx.getApplication();
    ValueBinding bind = app.createValueBinding("#{processScope.runId}");
    String runId = (String) bind.getValue(ctx).toString();
    bind = app.createValueBinding("#{bindings.RunId.inputValue}");
    bind.setValue(ctx, runId);
    bind = app.createValueBinding("#{processScope.ConfigurationId}");
    String configId = (String) bind.getValue(ctx).toString();
    bind = app.createValueBinding("#{bindings.ConfigId.inputValue}");
    bind.setValue(ctx, configId);
    OperationBinding operationBinding = (OperationBinding)bindings.getOperationBinding("Create");
    operationBinding.execute();
    operationBinding = (OperationBinding)bindings.getOperationBinding("Commit");
    operationBinding.execute();
    return null;
    }

    I am very disturbed that nobody cares there is a bug in ADF using Oracle BC's. Can somebody respond? It should be impossible to run a create method and get an update on the database without something being wrong in the persistence layer. I understand this is an in-depth question but there should be some resource available to resolve actual issues or at least provide some insight.

  • Infopath submit button only works for the first row in a repeating table‏

    Hi, I have a InfoPath Email submit button issue I could not figure out. I have a master/detail repeating table in my form, and one of fields is "EmailAddress" which shows customer's email address. I created a submit button and put the "EmailAddress"
    field to "TO" object. When I tested it, the submit button only would return the first row of emailaddress from the repeating table, but not the rest of it..
    What I want is when I highlighted a customer, and click the submit button, the current customer's email address would show up in "TO" list. I did some research and saw some suggestions about using current() function. So I put current() in the front,
    like this:
    current()/dfs:dataFields/d:vw_HZLeadLists/@EmailAddress
    Still not working..Just return the first record of emailaddress from master repeating table... Does anyone know what's going on here? Thanks a lot!

    Hello,
    Use double eval to get all rows values. See my reply for more information in below thread:
    eval(eval(EmailAddress, 'concat(ToField, ";")'), "..")
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/cc22aeb7-351f-45a7-8a4c-94132c3e0db2/eval-semicolon-function-issue?forum=sharepointcustomizationprevious
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • The first row behind the words,Why does not be displayed?

    The first row behind the words,Why does not be displayed?
    The first line of why will automatically fill?
    The File(IDcs6) [Link to know attack page removed by moderator]
    Message was edited by: Peter Spier

    Filedown has a nasty reputation in English-speaking countries - plenty of antivirus/antimalware apps block everything there by default, which is what Peter has done. It doesn't mean that your link is malicious, only that it's hosted somewhere that has been used to host malware in the past.
    I'm pretty sure, Peter, that there aren't any nonbreaking spaces there, because I'd wager that there aren't any spaces there at all. It's justified text, and the reasons why it will or will not break are sometimes obscure when using composers that aren't the J composer. Chinese text is usually entirely free of spaces, except in certain circumstances, usually involving European language inserted into Chinese text. Sometimes, for reasons I don't understand, InDesign will simply treat Chinese as if it were English, and only break at spots permissible in Euro languages. That's not the case here - it obviously breaks between two Chinese glyphs, so something else is up here.
    Which version of InDesign are you using? Are you keying the text directly into InDesign, or are you placing, or copying/pasting?
    If you're using an English version of InDesign, I would suggest trying to save your Chinese text as raw text or RTF and File -> Place that. If you choose RTF, try to mark it with Chinese language in your RTF editor (Word?) if possible.
    Is No Break applied anywhere in your text? You can check in the Story editor (Control/Command Y) to see what styles and formatting are applied.

  • af:table, only the first row of the table is effect

    Hi experts,
    I have an issue about using the <af:table, needs your help:
    1.The default selected line is the first line of the table(This should be ok).
    2.Only the first line can react to my manipulate, such as select one line and click delete button.
    3.While choosing the other line-->click the command button, the page will be refreshed and the selected one will turned to the first line. (Now the selected row, will be the first row). And will do nothing ,and has no action with the command button.
    I have an page OVS_Server.jspx, parts of it is :
    <af:table value="#{backVS.serverList}"
    var="row" rows="20"
    emptyText="#{globalRes['ovs.site.noRows']}"
    binding="#{backing_app_broker_OVS_Server.serverListTable}"
    id="serverListTable" width="100%"
    partialTriggers="poll1 commandButton_refresh commandButton_searchServer"
    selectionListener="#{backing_app_broker_OVS_Server.onSelect}">
    <f:facet name="selection">
    <af:tableSelectOne text="#{globalRes['ovs.site.selectAnd']}" autoSubmit="true"
    id="tableSelectOne" required="false">
    <af:commandButton text="#{globalRes['ovs.site.server.poweroff']}"
    id="commandButton_powerOff"
    action="#{backing_app_broker_OVS_Server.powerOffAction}"
    partialTriggers="tableSelectOne"
    disabled="#{backing_app_broker_OVS_Server.unreachableServer}"
    />
    <af:commandButton text="#{globalRes['ovs.site.edit']}"
    id="commandButton_edit"
    action="#{backing_app_broker_OVS_Server.editAction}"
    />
    <af:commandButton text="#{globalRes['ovs.site.delete']}"
    id="commandButton_delete"
    action="#{backing_app_broker_OVS_Server.deleteAction}"
    />
    </f:facet>
    <af:column sortProperty="ip" sortable="true"
    headerText="#{globalRes['ovs.site.serverHost2']}"
    id="column_ip">
    <af:commandLink text="#{row.ip}"
    id="commandLink_ip"
    shortDesc="#{globalRes['ovs.site.viewUpdateDetails']}"
    action="#{backing_app_broker_OVS_Server.viewAction}"
    immediate="true"/>
    </af:column>
    <af:column sortProperty="serverName" sortable="true"
    headerText="#{globalRes['ovs.site.serverName']}"
    id="column_serverName">
    <af:outputText value="#{row.serverName}"/>
    </af:column>
    </af:table>
    One JavaBean OVS_Server.java,and part of it is :
    public class OVS_Server {
    private CoreTable serverListTable;
    private VirtualServer selectedServer;
    public void onSelect(SelectionEvent selectionEvent) {
    selectedServer = (VirtualServer)serverListTable.getSelectedRowData();
    public String deleteAction(){
    if (selectedServer!=null) {
    deleteServerOper.execute();
    return "deleteServer";
    Would anyone show some lights on it?
    Thank you very much.

    Thank you for your reply!
    But the example you mentioned also has the issue like one of the comments :
    "Hi, on selecting the first row it displays the correct value, when navigating to another row still it displays the old value and not fetching the new selected row, actually I can see this on your sample screen shots... is there any way we can fix??"
    Is there any resolution?

  • Worklist table ponits to the first row after copy row

    Hi experts,
    We have installed ESS BP 1.41 into EP version 7.02. Now we found one issue in the ESS Working Time application screen.
    The screen has an option of copying rows from Worklist Table on top to the bottom table having Weekly/Daily view.
    The problem is if we choose recoreds from the top table and press the button 'Copy Rows' the table gets re-sorted and again points to the first row.
    When there are hundreds of entries in that table, it becomes difficult for the user to see the rows selected for copy immediately after pressing the Copy Rows button.
    Can anyone help to stop this sorting.
    Regards
    Arindam

    Hi Siddharth,
    many thanks for your reply. One doubt in BP 1.41, it is a WD java application, but the note you suggested, talks about the Ehp5 version which is in WD abap. Can you please re check and confirm.
    Regards
    Arindam

  • Unable to refresh page when insert the first row in viewobject

    I am using JDeveloper 10g to develop a JSP page, DataAction, AppModule and ViewObject. But when I am trying to use the following code to insert the first row, the page is not getting refresh. The quite weird thing is when I insert the second row, it returns me the first row as well as the second row. And it works well when I am trying to insert the third row, forth row....
    //code in AppModule
    ViewObject vo= this.getSampleView();
    vo.insertRow(newRow);
    vo.setNewRowState(Row.STATUS_INITIALIZED);
    vo.setAttribute("STR1", str1);
    vo.setAttribute("NUMBER1",new NUMBER(1));
    vo.setAttribute("STR2", str2);
    getTransaction().postChanges();
    getTransaction().commit();
    //Note: SampleView is a simply view created from a EnityObject mapping to a single table.
    Anybody could help me? Thanks very much!

    //The following code is the method in AppModule, which is invoked when clicks on the Add Remarks button on web page.
    public void addRemarks(String strCustCode,String strRemarks,String strUserID)
    ViewObject voRemarks1 = this.getCrmCustomerRemarksView();
    ViewObject voRemarks2 = this.getCrmCustomerRemarksView();
    NUMBER newSeq = new NUMBER();
    try
    voRemarks1.setWhereClause(" CRM_CUST_CODE ='" + strCustCode + "'");
    voRemarks1.setOrderByClause(" CRM_SEQ_NO DESC");
    voRemarks1.executeQuery();
    if (voRemarks1.getEstimatedRowCount()<1)
    newSeq = new NUMBER(1);
    else
    Row row = voRemarks1.first();
    NUMBER seq = (NUMBER)row.getAttribute("CrmSeqNo");
    newSeq = seq.add(new NUMBER(1));
    SimpleDateFormat tmpLocalFormat = new SimpleDateFormat();
    Date tmpDate = new Date();
    tmpDate = Calendar.getInstance().getTime();
    tmpLocalFormat.applyPattern("yyyy-MM-dd");
    System.out.println("NGNCM003 add Remarks with " + strCustCode + "," strRemarks "," + strUserID);
    Row newRow = voRemarks2.createRow();
    voRemarks2.insertRow(newRow);
    newRow.setNewRowState(Row.STATUS_INITIALIZED);
    newRow.setAttribute("CrmCustCode", strCustCode);
    newRow.setAttribute("CrmSeqNo",newSeq);
    newRow.setAttribute("CrmCreatedBy", strUserID);
    newRow.setAttribute("CrmRemarks", strRemarks);
    newRow.setAttribute("CrmLastModifiedBy", strUserID);
    newRow.setAttribute("CrmCreationTimestamp",tmpLocalFormat.format(tmpDate));
    newRow.setAttribute("CrmLastModificationTime",tmpLocalFormat.format(tmpDate));
    getTransaction().postChanges();
    getTransaction().commit();
    catch (Exception ex)
    throw new RuntimeException("Invalid Sequence No.");
    }

  • How to clear a cursor list without clearing the first row??

    Hi all, good to see ya ...
    I'm having this problem , that i'm using the first row ín a cursor list as a cursor in another graph. The rest of the rows are used as test sets i can add. So  when finnish with the tests if some was set, i have to delete or clear the cursorlist(but only the tests and not the first wich is the pointcursor) byy using the graphs cursor list proberty node ' Crsr.List '  and initialising it as showed in picture 1.
    Picture 2 shows the cursor list with some test and the cursor name (point cursor) and properties at  top. These properties are directly copied to another graph cursor list also at the top and there the point cursor is used as the cursor. The tests are also copied to the other graph cursor list, but when deleting the tests by 'clear button' all data are cleared also the point cursor. That is my problem.
    so the question is, how can i clear a cursor list without clearing the first raw and its proberties. any suggestions would be much help for me.
    Regards
    Zamzam 
    HFZ
    Attachments:
    Cursor Palette Front panel.JPG ‏25 KB
    cursor paletteA.JPG ‏66 KB
    Cursor paletteB.JPG ‏77 KB

    Zamzam
    The cursor list is just an array so you can delete the elements that you don't want.
    David
    Message Edited by David Crawford on 06-15-2006 12:46 PM
    Attachments:
    Delete Cursors.jpg ‏8 KB

  • ExportCollectionAction causes current rows values to be copied in the first row of the table

    Greetings experts,
    I use JDev 11.1.2.3
    I'm facing a really strange behavior of the exportCollectionActionListener. I have a table, and for each row of this table, a link, which calls a popUp. This popUp shows the history of this selected record changes (means it displays the data from another table/VO, which keeps the history of the first one) in a table. I have a button which calls the exportCollection for this second table. When i press it, an excel file is generated and downloaded, and that's all fine untill now. If there wasn't any record in this table, and o go back to the first one, pressing the submit button doesn't track any changes. But if there where any records in that history table (always talking about the history of the current row) , get back to the first one and press Submit, than the very first row of the firs table, gets all it's values set as the last row of the second table, as it is copied from one to the other. I have to press Rollback to get it back into normal ( note that the popUp has it's CancelListener invoke a Rollback operation from a backing bean).
    Why is this happening?
    Thanks in advance

    Hi Frank,
    Well, that's it. No code is involved in this process, that's why i'm asking here. The only code invoked in here is that of the CancelListener of the popUp, and i've inserted it because of this problem, but it didn't resolve anything.
    As per other code, i have another button which invokes code to generate and download a Jasper Report, in Pdf format. This has nothing to do with the exportCollection. Different buttons, different beans containing obviously different code. Further more, this behavior doesn't happen when i download the pdf (press the other button)
    As per the popUp, there is just a link in each row of the main table, which has a showPopUpBehavior, which calls this popUp, containing the second table.
    Note: if i download the pdf or do not do any operation with the popUp (i.e. just close it after it is opened) that behavior doesn't occur.
    This is the source of the popUp, i've just removed the columns as it would take too much space in here:
    <af:popup childCreation="deferred" id="p2"
                                              contentDelivery="lazyUncached"
                                              popupCanceledListener="#{popUp.adminPanelCancelListener}">
                                        <af:dialog id="d3" type="none">
                                            <f:facet name="buttonBar">
                                                <af:panelGroupLayout id="pgl7" halign="end" styleClass="AFStretchWidth"
                                                                     layout="horizontal">
                                                    <af:commandLink text="Download Excel" id="cl18">
                                                        <af:exportCollectionActionListener type="excelHTML" exportedId="t3"
                                                                                           filename="User history.xls"
                                                                                           title="User history"/>
                                                    </af:commandLink>
                                                    <af:commandLink text="Download Pdf" id="cl3">
                                                        <af:fileDownloadActionListener method="#{reportBean.downloadUserHistory}"/>
                                                    </af:commandLink>
                                                </af:panelGroupLayout>
                                            </f:facet>
                                            <af:table value="#{bindings.UsersHistory1.collectionModel}" var="row"
                                                      rows="#{bindings.UsersHistory1.rangeSize}"
                                                      emptyText="#{bindings.UsersHistory1.viewable ? 'No data to display.' : 'Access Denied.'}"
                                                      fetchSize="#{bindings.UsersHistory1.rangeSize}" rowBandingInterval="0"
                                                      selectedRowKeys="#{bindings.UsersHistory1.collectionModel.selectedRow}"
                                                      selectionListener="#{bindings.UsersHistory1.collectionModel.makeCurrent}"
                                                      rowSelection="single" id="t3" width="800px"
                                                      columnStretching="column:c10" styleClass="AFStretchWidth">
                                            </af:table>
                                        </af:dialog>
                                    </af:popup>

  • Can you move a row in a DataGridView to the first row and move the other rows down to make room?

    I'm using a DataGridView (I call it "dg") to display a list of items. I want the user to be able to position the cursor on a row in the middle of the list then click a button to move that row to the top of the list (and move the other rows between
    the first row and the row being moved down one row to accomodate the new first row).
    Robert Homes

    Hello,
    If the DataGridview does not have it's DataSource set we can use the following logic
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    Dim data = (From T In DataGridView1.Rows(DataGridView1.CurrentRow.Index).Cells.Cast(Of DataGridViewCell)() Select T.Value).ToArray
    DataGridView1.Rows.RemoveAt(DataGridView1.CurrentRow.Index)
    DataGridView1.Rows.Insert(0, data)
    End Sub
    If the DataSource is set then we need to do what was done above but against the underlying data rather than the DataGridView itself. The base logic can be found in
    the following article in LanguageExtensions.vb but please note the code there is for a different type of move yet the logic is still the same in the end.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • How do I set only the first row of a DataGrid as the selected row?

    I have a "Go" button on a search form that fetches data into an already data bound grid.  After the data is fetched, I want to make the first row in the Datagrid the selected row, as if the user clicked on it.  If the result set is empty, I don't want the code to crash.  (I only want one row to be able to be selected at a time)
                protected function btnGo_clickHandler(event:MouseEvent):void
                    getSBJsResult.token = baa_data_svc.getSBJs(cmbSrch.text);
                    grdSBJs. //  ?????  What goes here to select the first row?

    This should do it.
    If this post answered your question or helped, please mark it as such.
    if(myDataGrid.dataProvider.length > 0){
      myDataGrid.selectedIndex = 0;

Maybe you are looking for

  • ISE 1.2 Patch 8 - Wired CoA Bug

    Hi all, Just wondering if anyone else is having CoA issues using patch 8 on wired infrastructure? I was troubleshooting CoA this morning in a 5 node deployment (1 x Admin, 1 x Monitoring, 1 x secondary admin/monitoring and 2 x PSN) and found that CoA

  • Oracle streams configuration problem

    Hi all, i'm trying to configure oracle stream to my source database (oracle 9.2) and when i execute the package DBMS_LOGMNR_D.SET_TABLESPACE('LOGMNRTS'); i got an error bellow: ERROR at line 1: ORA-01353: existing Logminer session ORA-06512: at "SYS.

  • Which TNSNAMES.ORA file to update???

    Hi All I have installed Oracle Apps on my local system and I regularly access one more database using internet which is on another server. Now for accessing my local apps database I can use Toad or PL/SQL Developer without modifying the TNS file. But

  • Bug editing report attributes in Firefox

    Has anybody logged this problem before? It occurs in Apex 2.2 and 3.0 and FireFox 2.2, but I cannot reproduce it using IE6. Open a page with a report region and go to the report attributes. Look at the Headings Type and remember the setting. Edit one

  • Resizing when exporting

    Hello everyone! Just starting to (try to) learn how to use Photos after having used iPhoto for a few years. One thing I've yet to find is how to change the size of a photo when exporting. In iPhoto, you could choose quality and image size (small, med