Datagrid last row flickering problem.

Hi,
    I used flex 3.5 datagrid. It is a complex datagrid with lot of itemrenderers and itemeditors.when my datagrid has vertical scroll and when i scroll datagrid, last row keep on flickering.
     any idea or solution for this problem?   

my grid contains 6 columns. Among 6, some of the column texts are  visible some of them hided.
it is only happens to last row of the Datagrid.
This is happened when i scroll my datagrid vertically.

Similar Messages

  • Lock datagrid last row with agregates (don't know what to do next :( )

    Hi,
    I have been googling for 2 hours and have been reading some forum posts, etc... but can't get this thing working. It seems an important flaw in datagrid, because I'm sure lota peopple needs this, but I've not found a good solution.
    What I need to do is add a row of agregates to a datagrid that contains flat data (it must be last one, and locked, I mean, must not scroll). I have been reading about this:
    http://blogs.adobe.com/aharui/2008/03/flex_3_datagrid_footers.html
    But this makes the row separated from the grid, I mean, It is not really a datagrid row. Other problems arise using this implementation like, impossibility to keep last row aligned with datagrid columns when scrolling (I need to scroll because I have lota columns), etc...
    So, could anybody please help here to accomplish this? I think it is a pretty common task and it is a bit dissapointing it can't be done easily with flex.
    Thanks in advance,
    Aron.

    I haven't seen this done.
    You can add a summary row fairly easily using the Advanced Data Grid:
    http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_10.html

  • DataGrid - Query´s Last Row as Footer

    Hi!
    I have a query like:
    SELECT [User], 'Qtd' = Count(DISTINCT [OrderId])
    FROM [Jobs]
    GROUP BY [User]
    UNION
    SELECT 'Total', 'Qtd' = Count(DISTINCT [OrderId])
    FROM [Jobs];
    And I´m displaying this query result in a DataGrid object in an ASPX page.
    I´d like to set the last row of the query as a footer with a specific formatting. How do I set the last row of my query as a footer record at the DataGrid?
    Thanks,
    Molina.

    Hello,
    Please ask your question over in the ASPNET forum
    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 to Finding the Last Row Value in Datagrid?

    Hi Everyone,
    Thanks in Advance.
    I need your help, to find the last row data in Datagrid.
    Actually i am using Datagrid to display my Data in flex. In my data i stored the gender value of employees. So if the last row in my datagrid is "female" i need to be highlight that particular row. So please help me to solve this issue.
    Thanks,
    Charles. J

    datagrid.selectedIndex = datagrid.dataprovider.length;
    ^ something like this will select the last row in the datagrid.
    if you need to check it's value, you might need to cast an object here, based on the index value, and check it's gender value.
    datagrid.selectedIndex = datagrid.dataprovider.length;
    if (datagrid.selectedItem["gender"] == "female") {
    //handle here

  • Problems deleting last row of table

    I have tried a number of examples to make a button delete the LAST row of a table, but I cannot make it.
    This is the script I am currently using, but it only delets the second row. I'm desperate, I don't know where's the mistake. Please help!
    var sSubformSOM = "xfa.form.Summary.INTrack.INRecordTable.INRecord.Row1";
    var bCalc = true;
    var message = "You have reached the maximum number of items allowed.";
    var oSubform = xfa.resolveNode(sSubformSOM);
    var sParentSOM = oSubform.parent.somExpression;
    var sManagerSOM = sParentSOM + "._" + oSubform.name;
    var oManager = xfa.resolveNode(sManagerSOM);
    var nMinCount = oManager.occur.min;
    var nSubCount = oManager.count;
    if (nSubCount > nMinCount) {
              oManager.removeInstance(1);
              if (bCalc == true) {
                        xfa.form.recalculate(1);
    } else {
              xfa.host.messageBox(message,"Remove Item", 3);

    Hi
    In fact what you want is somehow strange. But this may be used.
    For the first row:
    <b>SELECT * FROM <table_name> UP TO 1 ROWS
    INTO gs_record</b>
    <i>*-- If you want you can use <b>"ORDER"</b> statement here to order *the contents</i><b>.</b>
    For the last row:
    As far as I know, You should select all the records till the last row and then get the last row.
    But, I think without ordering it will be somehow weird. We do not deal how the database layer handles order of the table. It has different policies regarding indexes etc... If you have an ordering condition, I think it will often be more convenient using an internal table to handle data. That is, retrieve your data with SELECT statement into an internal table, sort it and read it.
    *--Serdar

  • Hiding bloc of Lines in a web template in the last row

    Hello,
    I want to hide a bloc of lines in a web query.
    Here I use the table interface with the method
    characteristic cell according to the "How to" - paper
    (How to hide a column).
    Normally , there is no problem to set the tag
    '<!--' in the first column ot the row to be suppressed and the tag
    '-->' in the first column of the row, I want to display again.
    But the problem is the last row. Here I must close the
    tag in the last column of the last row. The effect is
    something like a double line at the end of the output.
    (I think, I see here another time the first column of
    a row, because I cannot close the tag properly)
    As a result, I have problems with the print manager, we use to enhance the web printing.
    Can someone give me the information, how to close the tag
    in a proper way at the last row.
    Many thanks for your help.
    Regards
    Ralph

    Hi,
    I don't think this is possible. I would try to use c_cell_extend to extend the style of each <td>-Tag with style="visibility:hidden; display:none" This should have the same affect (for all cells which have to be hidden) (depending on your table styles there might be some padding or spacing effects; you have to try this out).
    Heike

  • Trying to get the last row from a resultset

    Hi,
    I'm trying to do a query to postgreSQL and have it return the last updated value, (last row).
    My prepared statement is returning the correct results, but i'm having a problem getting the latest value.
    I'm using a comboBox to drive a textfield, to load the last entered values in depending on which item in the comboBox is selected.
    I've tried a variety of things and most seem to return the first row, not showing the updated values.
    Or, if it does work, it takes to long to load, and i get an error.
    here is the working code;
    Object m = machCBX.getSelectedItem():
    try { PreparedStatment last = conn.prepareStatement("SELECT part, count FROM production WHERE machine = ?",
    ResultSet.TYPE_SCROLL_INSENSITIVE,  //tried both INSENSITIVE and SENSITIVE
    ResultSet.CONCUR_READ_ONLY);
    last.setString(1, String.valueOf(m));
    rs. = last.executeQuery();
    if(rs.isAfterLast) == false ) {
    rs.afterLast();
    while(rs.previous()) {
    String p = rs.getString("part");
    int c = rs.getInt("count");
    partJTX.setText(p);
    countJTX.setText(c);
    }this grabs values, but they are not the last entered values.
    Now if i try to use rs.last() it returns the value i'm looking for but takes to long, and i get:
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space I also know using ra.last() isn't the best way to go.
    I'm just wondering if there is another way other than getting into vectors and row count? or am i better off to go with the later?
    thanks
    -PD

    OK, you've got a major misunderstanding...
    The relational database model is built on the storage of sets - UNORDERED sets. In other words, when you hand a database a SELECT statement without an ORDER BY clause, the database is free to return the results in any order.
    Now it so happens that most databases will happen to return data retrieved by an unordered SELECT, at least for a while, in the same order that it was inserted, especially if no UPDATE or DELETE activity has occured, and no database maintenance has occured. However, eventually most tables have some operation that creates a "space" in the underlying storage, or causes a row to expand and have to be moved or extended, or something. Then the database will start returning unordered results in a different order. If you (or other people) never ever ever UPDATE or DELETE a table, then on some databases the data might well come out in insertion order for a very very long time; given human nature and the way projects tend to work, relying on that is a sucker's bet, IMHO.
    In other words, if you want the "most recent" something, you need to store a timestamp with your data. (With some databases, you might be able to take advantage of some non-standard feature to get "last updates" or "row change timestamps", but I know of no such for Postgres.
    While this won't solve your major problem, above, your issue with rs.last is probably occuring because Postgres by default will prefetch your entire ResultSet. Use Statement.setFetchSize() to change that (PreparedStatement inherits the method, of course).

  • How can I delete the last row of a Matrix

    Hi All,
    Does anyone know whether deleting the last row of a matrix controlled by a UDO child table gives problems? I have the strange effect that I cannot delete the very last existing row in the matrix, i.e. after updating the delete the last to-be deleted row comes back into my matrix !!
    I give you a snippet of my code (function getSelectedRow gives the selected row in the matrix):
    ==
    if (evnt.ItemUID.Equals(ViewConstants.Items.DELETEBUTTON))
      if (evnt.EventType == BoEventTypes.et_ITEM_PRESSED)
        if (evnt.BeforeAction)
          form = BusinessOne.Application.Forms.Item(formUID);
          mtx = (Matrix)form.Items.Item(ViewConstants.Items.MATRIX).Specific;
         int numRow = getSelectedRow(mtx);
         if (numRow != -1)
                                            mtx.DeleteRow(numRow);
                                            form.Mode = BoFormMode.fm_UPDATE_MODE;
                                       Item btn = (Item)form.Items.Item(ViewConstants.Items.ADDBUTTON);
                                       btn.Enabled = true;
    ==
    Cheers,
    Marcel Peek
    Alpha One
    Message was edited by: Marcel Peek
    Message was edited by: Marcel Peek

    Yes, there is a problem to delete the last row.
    It is fixed in version 2005.

  • How to auto scroll a table to last row when using Active Data Service?  11g

    Hi all,
    Has anyone got any experience with the ADF Active Data Service?
    I am using an af:table in combination with the ADF Active Data Service and I want the table to scroll to the latest row when new data arrives.
    It is basically a simple setup:
    The value attribute of my table points to a bean that extends CollectionModel and implements ActiveDataModel. This works perfectly. A soon as I receive new data in my bean, the table is automatically updated (e.g. a new row is inserted). I use JDev version: 11.1.1.3
    The problem is that I can not get the scroll bar to move down to the last row automatically when new data arrives. The auto scroll only works for the client that actually performs a submit. In other words the person that submits the new data, will see his scrollbar move down, this is because I added the following code:
    RowKeySet rowkeysset = chatTableBinding.getSelectedRowKeys();
    rowkeysset.clear();
    rowkeysset.add(getRowKey());
    AdfFacesContext.getCurrentInstance().addPartialTarget(this.chatTableBinding);
    This does not work for the clients that receive the new data via the Active data model. Apparently the active data service partially refreshes the table, but not in such a way that it sets the selected row to the last row?
    My table definition:
    <af:table value="#{pageFlowScope.chatBean.instantMessagingChatwindowBean}" var="row"
    id="t1" columnStretching="last" rows="10"
    styleClass="AFStretchWidth" autoHeightRows="10" contentDelivery="immediate"
    horizontalGridVisible="false"
    verticalGridVisible="false"
    disableColumnReordering="true" displayRow="last"
    rowSelection="single"
    binding="#{pageFlowScope.chatBean.instantMessagingChatwindowBean.chatTableBinding}"
    inlineStyle="height:80px;">
    p.s.
    The table is used to show incoming chat message.
    I am building a chat client (taskflow) in a Webcenter application. The concept is similar of that presented by Lucas Jellemain in his blogpost on building a Google Talk Client http://www.oracle.com/technetwork/articles/jellema-googletalk-094343.html

    Dan,
    This is a thanks for posting your findings. You saved me quite some time.
    <af:selectBooleanCheckbox id="showOnlyActiveSubscriptions" selected="true"
    label="Show only active services:"
    value="#{servicePortfolioBean.showOnlyActiveSubscriptions}"
    autoSubmit="true" />
    <af:table binding="#{servicePortfolioBean.serviceTable}" ...
    partialTriggers="showOnlyActiveSubscriptions">
    Of course, when I add a "ValueChangeListener" to the selectBooleanCheckbox, the PPR stops working. :( I wonder why?

  • Needs  help to retrive the last row in a  select query without using rownum

    Hi ,
    i need to retrive the last row from the select sub query without using rownum.
    is there any other way to retrive the last row other than the below query.
    is that the ROWNUM=1 will always retrive the 1 row of the select query ?
    select from*
    *(select ename from employee where dept_id=5 order by desc) where rownum=1;*
    Please advise.
    thanks for your help advance,
    regards,
    Senthur

    957595 wrote:
    Actually my problem is ithat while selecting the parents hiearchy of the child data using
    CONNECT BY PRIOIR query
    I need the immediate parent of my child data.
    For example my connect BY query returns
    AAA --- ROOT
    BBB --PARENT -2
    CCC --PARENT-1
    DDD IS my input child to the connect by query
    Immediate parent of my child data "DDD" ---> CCC(parent -1)
    i want the data "CCC" from the select query,for that i am taking the last row of the query with rownum.
    I got to hear that using ROWNUM to retrive the data will leads to some problem.It is a like a magic number.I am not sure what the problem will be.
    So confusing with using this rownum in my query.
    Please advice!!!It's not quite clear what you're wanting, but perhaps this may help?
    you can select the PRIOR values to get the parent details if you want...
    SQL> ed
    Wrote file afiedt.buf
      1  select empno, lpad(' ',(level-1)*2,' ')||ename as ename, prior empno as mgr
      2  from emp
      3  connect by mgr = prior empno
      4* start with mgr is null
    SQL> /
         EMPNO ENAME                                 MGR
          7839 KING
          7566   JONES                              7839
          7788     SCOTT                            7566
          7876       ADAMS                          7788
          7902     FORD                             7566
          7369       SMITH                          7902
          7698   BLAKE                              7839
          7499     ALLEN                            7698
          7521     WARD                             7698
          7654     MARTIN                           7698
          7844     TURNER                           7698
          7900     JAMES                            7698
          7782   CLARK                              7839
          7934     MILLER                           7782
    14 rows selected.(ok, not the best of examples as the mgr is already known for a row, but it demonstrates you can select prior data)

  • ALV flickering problem

    Hi,
    I have  flickering problem with ALV control (cl_gui_alv_grid).  My alv grid  control is not in edit mode.
    I am using ALV grid for event planning with drag drop operations, so there may be 1000+ rows sometimes at grid.
    Also I call refresh_table_display with soft_refresh and is_stable='XX.'
    (I call cfw=>set_new_ok_code to trigger PBO. refresh_table_display is being called at PBO )
    It flickers just a second or two after drop_complete but it is critical for usability.
    I think flickering happens because of scrolling, so I used set_scroll_via_id but nothing changed.
    Thanks.

    Hi Manu,
    I tried not to trigger PBO (Called refresh_table_display at PAI, commented set_new_ok_code)
    It does not help..
    (Same behaviour : se38-> BC_ALV_TEST_GRID_PERFORMANCE.Increase record count to 5000.Run.
    Scroll to the bottom of list.)
    Thank you..

  • ALV grid to excel :    last row datas are missing   (Ecc6.0-GUI7.1)

    Hello,
    Some colums are empty in the last row by clicking into the excel icon???
    Please note ,I must not use the print preview.
    I have specified outputlen and datatype for the fieldcat but it doesn' t resolve the problem.
    Thank you very much,
    JcNavech.

    Hello,
    any idea about how to sove this problem? I have it as well.
    My ALV has 132 rows and 24 columns and when exporting to Excel last 19 coulmns of very last row are empty.
    I don't think that Suggested Note 1429136 solve this problem because I have much less that 256 columns and 65536 rows.
    Thank you!
    Best regards
    Guido
    PS: I have ECC 6.0 - SAB BASIS SAPKB70014 and SAP GUI 7.10

  • RFC - XI - JDBC(mapping only the last row of a record)

    Hello all,
    in a mapping response from an oracle base after a RFC call with a select statement, i have the following response :
    <StatementSelect_response>(cardinality 0..1)
    <row1>(cardinality 0..unbounded)
    <field1>1</field1>
    <field2>2</field2>
    </row1>
    <row2>
    <field1>3</field1>
    <field2>4</field2>
    </row2>
    </statement>
    i have to map those fields in a RFC_response like :
    <RFC_response>(0..1)
    <field1>
    <field2>
    </rfc _response>
    Problem : I only need to send back to the rfc_response the last records of my StatementSelect_response in order to have the following message :
    <RFC_response>
    <field1>3
    <field2>4
    </rfc _response>
    How can i select only the last row of my records plz ?
    Thanks by advance

    VJ wrote:>
    > Hi,
    >
    > public void LastRow(String[] a,ResultList result,Container container){
    >
    > int len = a.length();
    > Result.addValue(a\[len-1\]);
    >
    > }
    VJ,
    Please don't confuse him. If you want to update the thread, let me leave it aside.Coz it shouldn't cause him trouble. Can u check a.length() is correct? it has to be a.length, isn't it?
    We all here to help others, not under any motivation of compete..
    Sorry, if I hurt you..
    raj.

  • Using firefox 4.0.1, IBM SVC console internal server, rows with I think form data, the last row is corrupted and overlays a prior row.

    IBM SVC console uses websphere. Screen data that is presented in table form last row appears to overwrite the prior row only. In other similar layouts, the last row is cut in half and cannot be seen. The prior version of Firefox 3 (something) did not have this problem. OS Windows XP Pro SP3
    Firefox V3.6.17 worked fine

    Seeing the same problem using the HMC with FF7 beta.

  • Tabular form last row not accessible through PL/SQL

    i am using apex 3.2
    I have created one tabular form for daily receipt of material.
    data get stared in table storereceipt. Now I have created one PL/SQL , it reads each row of tabular form one by one and update quantity of item in master table.
    begin
    FOR i IN 1 .. apex_application.g_f02.COUNT
    LOOP
    if apex_application.g_f12(i) != 'LOCK' then
    update inv_ms_item set qty = qty apex_application.g_f11(i)+ this row update quantity in another table
    where id = apex_application.g_f10(i);
    end if;
    END LOOP;
    end;
    problem arrives in last row, which was created blank with add row then data was entered and submit button was clicked.
    my pl/sql is called on click of submit button . it updates all items except on last row.
    remaining things works fine.
    if i create 5 rows with add row and click one more time. last row will be blank. now if i click submit then all rows get updated and as last row is blank i dont have to care about it.
    Edited by: TEJU on Oct 21, 2010 4:40 PM
    Edited by: TEJU on Oct 21, 2010 4:40 PM

    Hi ,
    Teju this is the major drawback in the apex 3.2 because if u see the length when there is only one record is present in the tabular form
    then the outpuyt u will get is undefined , but though the colum exists it wont .
    i have faced this problem , one thing u can do is use document.getElementByID method of java script
    first find out the length , that specifies how many rows are present then write a loop
    for 1=0 till i<=-tahta length
    document.getElemetByid('f01_00'+i)
    /* this will give u f01_001 ...this can be ur element 1 , f01_002 this will ur element two .
    I had already used it and its working fine...
    Regards,
    Nandini Thakur.

Maybe you are looking for

  • Sales org doubts

    Hi Gurus, Could any one help me where exactly if we maintained the Address in Sales Organisation and shipping point will Impact. Where can i see if i maintained the address. Will it appear in any docs e.g. PO, billing doc, Sale Order ? Cheers Edie Ed

  • Every time I open a new tab, it no longer goes to the standard "you've opened a new tab" page, but to a searchwebsite of Babylon. How do I fix this?

    Every time I open a new tab, it no longer shows the standard Firefox "new tab" page, but a search-website by Babylon. I don't know how to fix this.

  • Posture check for Windows Update

    Hi All, I am constructing Posture conditions in ISE, which check  Windows Update are not more than 7 days old. Can you guys help me in formulating this condition. Thanking in advance, Thank You, Aditya

  • Error whilst trying to sync my calandar to the desktop

    when I click on configure button, when trying to sync my Curve 9380 to the desktop app it comes up with an error "the organizer applications on your computer are not supported" I am using windows 7, Outlook 2010 butcannot get into the settings to con

  • Oracle workflow Upgrade

    Hello We are currently on workflow 2.0.3 version and planning to upgarde. We are moving to 8.1.7 database version and want to move to 2.5.x version of workflow. 1. Do we need to do lot of rework to move to workflow 2.5.x version. 2. Can I move direct