Postback Issue w/DataGrid Paging & Sorting

Has anyone been able to resolve the postback issues while working with a Datagrid that has sorting and paging? I am using the .NET web controls however, either they do not work on Datagrid controls or there is something else missing in my setup.
Paul

For setup I believe the only thing needed is:
which does help with the postback. If this isn't there I believe the default .Net postback is used which will not display back to the portlet but it will to a new browser window.
<httpModules> <!-- Plumtree .NET Web Controls Support --> <add type="Com.Plumtree.Remote.Loader.TransformerProxy, Plumtree.WCLoader, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d0e882dd51ca12c5" name="PTWCFilterHttpModule" /> </httpModules>
------- Paul Fox wrote on 2/17/05 12:31 PM -------Has anyone been able to resolve the postback issues while working with a Datagrid that has sorting and paging? I am using the .NET web controls however, either they do not work on Datagrid controls or there is something else missing in my setup.
Paul

Similar Messages

  • DataGrid paging, how do I override sorting behavior?

    I've got a large dataset and I'm showing pieces of it at a
    time in a DataGrid. When the user clicks a heading in the grid to
    sort the data, I don't want the DataGrid to sort it. Instead, it
    needs to reload the data from the server and tell the server how to
    sort it. How might I go about overriding the default behavior for
    heading clicks? If only there was some sort event for the
    grid…

    There's a protected method of the DataGrid placeSortArrow()
    that "draws the sort arrow graphic on the column that is the
    current sort key." Is there a way to tell the DataGrid which column
    is the current sort key from my headerRelease event handler? Then
    would I have to call the placeSortArrow method somehow? It's a
    protected method, so could I call it if I extended the DataGrid and
    called it from my custom DataGrid?
    Or am I better off appending a symbol to the end of the text
    of the header that's clicked?

  • [svn:fx-trunk] 12814: Addressing focus issue in DataGrid introduced by a recent fix.

    Revision: 12814
    Revision: 12814
    Author:   [email protected]
    Date:     2009-12-10 15:18:25 -0800 (Thu, 10 Dec 2009)
    Log Message:
    Addressing focus issue in DataGrid introduced by a recent fix.
    QE notes: None
    Doc notes: None
    Bugs: SDK-24665
    Reviewer: Alex
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24665
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as

    Revision: 12814
    Revision: 12814
    Author:   [email protected]
    Date:     2009-12-10 15:18:25 -0800 (Thu, 10 Dec 2009)
    Log Message:
    Addressing focus issue in DataGrid introduced by a recent fix.
    QE notes: None
    Doc notes: None
    Bugs: SDK-24665
    Reviewer: Alex
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24665
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as

  • Datagrid Paging w/ FB4.5 & CF causing indexing error

    Being relatively new to this, I am attempting to use the built in (or implicit) data paging tools in Flash Builder 4.5.  Having created the ColdFusion functions necessary I am getting a DataGrid that pages properly with one exception:
    When scrolling down using the down arrow, as the control attempts to grab the second set of records an index out of range error is thrown.  I can see through the network monitor that the parameters passed to the paging method include 0 for the index.  I suspect this error occurs because ColdFusion arrays are not 0 based.
    When using the thumb of the bar and going past the first new 'page', all works great.
    Help! 

    Well, the issue was a little different than I suspected.
    What is happening is that the first request is being sent to the method with arguments 0 and 'pagingNumber (20 in my case)'....even though the first 20 are already loaded into the grid   This is causing and end result of the grid deciding that there are only 20 records despite the return of the Count().
    I worked around this by adding 20 to the variable in the Cold Fusion code...maybe this is what I was suppose to do all along?

  • Memory issues - Bring demand paging to X6.

    does anyone at nokia remember a few years ago a firmware update that added demand paging to N95 and enabled the phone to do multi-tasking properly without having always memory issues? Please bring it to the X6. It's frustating to run only one app (in this case, opera mobile) and having memory warnings always poping up... After a fresh start of the phone.
    In the wise words of a famous Top Gear presenter: how hard can it be?

    The numbers below were constantly moving as I copied them so they're not exact but here's what task manager reported. Funny thing is that it always seems to show around 3 GB available.
    Physical:
    Total - 12581952 Kb
    Available - 3377056 Kb
    System Cache - 3237124 Kb
    Kernel Memory:
    Total - 204288 Kb
    Paged - 143704 Kb
    Non-Paged - 60056 Kb
    I just saw that OEM was advising "Increase the size of the SGA by setting the parameter "sga_target" to 10752 M"

  • Text Overlapping/Wrapping Issue in BSP(Table Sorter Using JQUERY)

    Hi ,
    I have a requirement to add a new column in existing table which has been built by Table Sorter method in JQUERY.
    I have added the new column but the issue is value for the new column is populated  on next line of the table.
    This could be a simple width issue, but i don't know JAVA much.Attached the image for reference.
    Code i have used is:
    <input type="text" name="t_rbclaim[<%= lv_tabix%>].reason" size="3" maxlenth="3" wrapping = "true"
         onBlur="javascript:this.value=this.value.toUpperCase();" value="<%= w_rbclaim-reason%>">
    Please let me know how to modify the above code in better way.

    Hi Raja,
    Can you please help on this problem. I want to know whether there is any funciton module to convert the univercel character set code (HTML Codepage) page to SAP codepage. We are going to use ECC 6.0 which is unicode system for background R/3. So we can get the correct character format if identify the correct conversion method.
    Please let me know if any information and expect some information on this.
    Regards,
    Saravanan V

  • DataGrid Column Sort Prevents Drag From Updating DataProvider

    Hi
    I have a datagrid with an XMLListCollection as the Data Provider.
    I have dragging set on so that when I drag a row to somewhere else in the list the XMLListCollection gets updated just fine and so does the DataGrid.
    However, if a column sort has previously been set this seems to stop the XMLListCollection being updated on the drag.
    I have tried setting the sort property on the XMLListColelction to null and then doing a refresh - this works to a point but it restores the default sort order which is not really what I want as the user may wish to continue from where the column sort got them to.
    I was wondering if anyone had any suggestions please ?
    Thanks a lot.
    Chris

    Hi
    Thanks for replying
    This is what the debugger says:
    TypeError: Error #1010: A term is undefined and has no properties.
        at mx.controls.listClasses::ListBase/makeRowsAndColumnsWithExtraRows()[C:\autobuild\3.2.0\fr ameworks\projects\framework\src\mx\controls\listClasses\ListBase.as:1358]
        at mx.controls.listClasses::ListBase/updateDisplayList()[C:\autobuild\3.2.0\frameworks\proje cts\framework\src\mx\controls\listClasses\ListBase.as:3658]
        at mx.controls.dataGridClasses::DataGridBase/updateDisplayList()[C:\autobuild\3.2.0\framewor ks\projects\framework\src\mx\controls\dataGridClasses\DataGridBase.as:581]
        at mx.controls::DataGrid/updateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framewor k\src\mx\controls\DataGrid.as:1437]
        at mx.controls.listClasses::ListBase/validateDisplayList()[C:\autobuild\3.2.0\frameworks\pro jects\framework\src\mx\controls\listClasses\ListBase.as:3280]
        at mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\f ramework\src\mx\managers\LayoutManager.as:622]
        at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:695]
        at Function/http://adobe.com/AS3/2006/builtin::apply()
        at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
        at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]
    For instance, after the page with the flash module loads, and I click on a column, I get the error. This is quite random, sometimes I need a couple of tries to get the error...
    If you require more information about it I will try to provide.
    Thank you
    Vlad

  • Can we call the Datagrid Column Sort function?

    Is it possible to call the same function within the datagrid
    component that is used when we do an onClick event of the column
    headers? When you click on the column header, it will sort the
    column ascending or descending.
    I would like to call that same process after the datagrid is
    loaded, programmatically. But the same as if the user had clicked
    the column.
    I have looked at examples in the help that sort the
    dataprovider array. But if we are able to do this at runtime with a
    user clicking on the column, it seems that it should be possible
    since the datagrid is doing a sort on the internal dataprovider
    object for the datagrid.
    If it is not available now, this functionality should be
    added.
    Thanks.

    Yes, you can do what you want by setting the data provider's
    "sort" property
    to be an instance of class Sort, and putting one or more
    SortFields inside the
    Sort.
    If you put just a single SortField inside the Sort, then the
    header field will
    have the up/down triangle indicating the results of the sort,
    just as if the
    user had clicked on the column. If you put two or more
    SortFields inside the
    Sort, then there won't be a triangle, because of course it
    wouldn't make sense
    to put on there.
    Here is a small sample:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:Array id="mydata">
    <mx:Object col1="b" col2="p" col3="z" />
    <mx:Object col1="c" col2="r" col3="y" />
    <mx:Object col1="b" col2="q" col3="x" />
    <mx:Object col1="a" col2="q" col3="x" />
    <mx:Object col1="d" col2="q" col3="x" />
    <mx:Object col1="c" col2="q" col3="x" />
    </mx:Array>
    <mx:ArrayCollection id="mycollection"
    source="{mydata}">
    <mx:sort>
    <mx:Sort>
    <mx:fields>
    <!-- This example has field "col2"
    as its primary sort field, and
    field, and field "col1" as its
    secondary sort field.
    If you remove one of these lines,
    so only a single SortField
    exists, you will see a triangle
    in the header of the sorted
    field in the DataGrid.
    -->
    <mx:SortField name="col2" />
    <mx:SortField name="col1" />
    </mx:fields>
    </mx:Sort>
    </mx:sort>
    </mx:ArrayCollection>
    <mx:DataGrid id="dg" height="474"
    dataProvider="{mycollection}" >
    <mx:columns>
    <mx:DataGridColumn headerText="Column 1"
    dataField="col1"/>
    <mx:DataGridColumn headerText="Column 2"
    dataField="col2"/>
    <mx:DataGridColumn headerText="Column 3"
    dataField="col3"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:Application>
    Mike Morearty
    Developer, Flex Builder team
    http://www.morearty.com/blog

  • Flex datagrid french sorting

    Hi,
    I am using flex datagrid to develop an application in french,
    as french is having special character in it,
    i need to sort datagrid column in french. Flex datagrid
    unable to sort data in french. i need french sorting,
    if somebody has solution of this please help me to get out of
    this.
    If possible please reply me on
    [email protected]

    i am using inbuilt flex sorting, i am not using sortcompare()
    function.
    its just a string sorting but as its in french ,character
    &quot;
    É&quot; is comig after character &quot;
    V&quot; , because flex treated it as a special character
    . it should come before &quot;
    V&quot;. so do we need to change character set for
    flex?

  • Issue using Range Paging Incr in  VO performance tuning

    Hi All,
    I have a View Object, where I have given the following tuning conditions
    1. All rows option with Batch Size - 250 (As Needed)
    2. Query Optimizer - FIRST_ROWS_250
    3. Access Mode Range Paging Incremental with Range Size - 50 and cache factor - 5
    Now when I run my application, I am getting the following error
    *<OracleSQLBuilderImpl> <bindRangePagingParams> [36909] setting rownum query between (1200, 1453)*
    *<ViewRowSetIteratorImpl> <scrollRange> [36910] oracle.jbo.common.JboAssert: (Assertion Failed) mSize < 0 after range page adjustment of mSize.*
    *     at oracle.jbo.common.Diagnostic.ASSERT(Diagnostic.java:302)*
    *     at oracle.jbo.common.Diagnostic.ASSERT(Diagnostic.java:325)*
         at oracle.jbo.server.ViewRowSetIteratorImpl.scrollRange(ViewRowSetIteratorImpl.java:1346)
         at oracle.jbo.server.ViewRowSetIteratorImpl.setRangeStartWithRefresh(ViewRowSetIteratorImpl.java:2729)
         at oracle.jbo.server.ViewRowSetIteratorImpl.setRangeStart(ViewRowSetIteratorImpl.java:2714)
         at oracle.jbo.server.ViewRowSetImpl.setRangeStart(ViewRowSetImpl.java:2924)
         at oracle.jbo.server.ViewObjectImpl.setRangeStart(ViewObjectImpl.java:10099)
         at oracle.adf.model.binding.DCIteratorBinding.setRangeStart(DCIteratorBinding.java:3419)
         at oracle.adfinternal.view.faces.model.binding.RowDataManager._bringInToRange(RowDataManager.java:103)
         at oracle.adfinternal.view.faces.model.binding.RowDataManager.setRowIndex(RowDataManager.java:58)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.setRowIndex(FacesCtrlHierBinding.java:603)
         at oracle.adfinternal.view.faces.renderkit.rich.TreeRendererUtils.computeCurrentContainerRowCount(TreeRendererUtils.java:2070)
         at oracle.adfinternal.view.faces.renderkit.rich.TreeRendererUtils.getCurrentContainerRowCount(TreeRendererUtils.java:2042)
    Additional Info:
    1. In VOIterator in Page def file I have given Range Size as 50 and in table fetchSize="#{bindings.MscOrdersVO11.rangeSize}"
    2. I ran the sql from VO in DB and found the row count to be 1264.
    Can some one please let me know where I am going wrong here.
    Thanks in advance.
    Ragu

    Hi Timo,
    Jdev Version - 11.1.1.4.0
    Also I tried using Range Paging and I am getting Missing IN or OUT parameter at index:: 9 issue. But the other issue
    "oracle.jbo.common.JboAssert: (Assertion Failed) mSize < 0 after range page adjustment of mSize" did not appear.
    IQ  WHERE ROWNUM < :Bind_RangePage_High) WHERE Z_R_N > :Bind_RangePage_Low) "
    *<ViewObjectImpl> <getQueryHitCount> [35841] Bind params for ViewObject.getQueryHitCount: MscOrdersVO1*
    *<ViewRowSetImpl> <doSetWhereClauseParam> [35842] MscOrdersVO1 ViewRowSetImpl.doSetWhereClause(-1, vPlanId, 15320)*
    *<ViewRowSetImpl> <doSetWhereClauseParam> [35843] MscOrdersVO1 ViewRowSetImpl.doSetWhereClause(-1, vPlanId1, null)*
    *<ViewRowSetImpl> <doSetWhereClauseParam> [35844] MscOrdersVO1 ViewRowSetImpl.doSetWhereClause(-1, vBasePlanId, 15320)*
    *<ViewRowSetImpl> <doSetWhereClauseParam> [35845] MscOrdersVO1 ViewRowSetImpl.doSetWhereClause(-1, vBasePlanId1, 0)*
    *<OracleSQLBuilderImpl> <bindParamValue> [35846] Binding param "vPlanId": 15320*
    *<OracleSQLBuilderImpl> <bindParamValue> [35847] Binding null of type 12 for "vPlanId1"*
    *<OracleSQLBuilderImpl> <bindParamValue> [35848] Binding param "vBasePlanId": 15320*
    *<OracleSQLBuilderImpl> <bindParamValue> [35849] Binding param "vBasePlanId1": 0*
    *<ViewObjectImpl> <getQueryHitCount> [35850] ViewObjectImpl.getQueryHitCount failed...*
    *<ViewObjectImpl> <getQueryHitCount> [35851] java.sql.SQLException: Missing IN or OUT parameter at index:: 9*
    *     at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1821)*
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3625)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
         at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
         at oracle.jbo.server.ViewObjectImpl.getQueryHitCount(ViewObjectImpl.java:4523)
         at oracle.jbo.server.ViewObjectImpl.getQueryHitCount(ViewObjectImpl.java:4437)
    Thanks,
    Ragu
    Edited by: 867250 on Jul 26, 2012 5:58 AM
    Edited by: 867250 on Jul 26, 2012 5:58 AM

  • Datagrid labelfunction sort problem

    I have a problem with sorting on all columns the moment I
    implement a labelFunction in a datagrid. When I click the datagrid
    headers nothing happens anymore. I need the labelFunction in the
    first place to format some data.
    Does anyone has a solution for my problem?
    Here's the code (fragmented):
    <mx:DataGrid id="dgUsers" dataProvider="{aUsers}">
    <mx:columns>
    <mx:DataGridColumn headerText="number"
    labelFunction="dispUsers"/>
    <mx:DataGridColumn headerText="name"
    labelFunction="dispUsers"/>
    <mx:DataGridColumn headerText="role"
    labelFunction="dispUsers"/>
    </mx:columns>
    </mx:DataGrid>
    private function dispUsers(item:Object, column:
    DataGridColumn):String {
    switch(column.headerText) {
    case "number":
    return item.username;
    case "name":
    return formatName(item.voornaam, item.tussenvoegsel,
    item.achternaam);
    case "role":
    return item.roleName;
    default:
    return "";
    private function formatName(sVoor:String, sMidden:String,
    sAchter:String):String {
    var sName:String = "";
    if(sAchter != "") {
    sName += sAchter;
    if(sVoor != "") {
    if(sName != "") {
    sName += ", ";
    sName += sVoor;
    if(sMidden != "" && sVoor != "") {
    sName += " " + sMidden;
    return sName;

    Because you have a labelFunction, the DataGrid now needs a
    sortCompareFunction to tell it how to sort your data. Here is some
    extra info.
    http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=L iveDocs_Parts&file=00000598.html
    Joan Lafferty
    Flex SDK QA

  • Datagrid paging without FB data/services

    Hello all,
    In our application we use blazeds to connect to a spring server.
    The server calls are done by swiz.
    I would like to build a paged datagrid to handle a large data set.
    But i dont want to use the flashbuilder build in data service tab to set up the paging.
    Is their some kind of event the datagrid fires when you scroll, which is used to do the paging?
    Or do i have to set something in my AsyncToken?
    Can anyone help me or point me in the right direction in how a datagrid pages its data.

    You can look at the generated code by using Data/Services panel when paging is enabled through Data/Services tab.
    Or
    you can have listener registered on the data grid that gets triggered when rowCount property changes. You need to extend the datagrid and override setRowCount to dispatch the event when rowCount changes.
    For details on paging you can refer http://corlan.org/2008/08/19/paging-a-data-grid-on-the-client/
    hope this helps!

  • Issue Action links,Column sorting in OBIEE(11g) 11.1.1.7.0

    Hello everyone,
    I want to provide the feature column sorting to my users but i dont want to provide any feature to users when they click on right mouse button.When we click on right mouse in action link column value it is giving the "action links","include/exclude columns" options etc.
    I disabled the do not display the action link report name in the column properties.
    Also disable the  include/exclude columns options in the interaction XYZ properties of the view.
    But still i am not able to understand why these links are coming when i run the report from the dashboard.
    Please help me out here.
    thanks,
    prassu

    Hi Timo,
    I am using data control web services to get these attributes on to the jspx page. The table has the value property which is binding to the iterator( #{bindings.SUMMARY_LINES_ITEM.collectionModel}).
    The table has various coulmns like order no, status, request and so on..where Order no and status are converted to a cmd link which navigates to another page on a query.
    I don't understand how setting sorting to true in one of the columns can make it not found in the iterator! And I get the errors only if sorting is done first before querying(clicking on one of the values in a column to navigate to another page).
    Thanks,
    Sue

  • Jsp paging & sorting problem

    hi all,
    i am facing a problem while displaiyng my pages. i hav a list of records of which i have to display a predefined no of records at a time,say 6. i am getting the list from database and then putting it in session. on my page i would give links to page numbers to view next set of records, much like what google does.
    now this is working fine. i have an option on my page to sort the set of records, the sorting being done by my query. problem arises when i use this sorting functionality, the sorting is performed on the entire list, not on those which are displayed... the example might make things clearer.
    if i have a 6 records and i display 4 records at a time, so on my page 1 i will be able to view record no. 1, 2, 3, 4. now when i sort them i see record no. 6, 5, 4, 3. ideally i would like to see the records 4, ,3, 2, 1.
    i hope things are clear....what can be done to tackle this...
    thanks in advance...

    Abhi,
    I was wondering if you could explain this to me:
    <% request.setAttribute( "test", new TestList(10, false) ); %>
    on my application, I use database query to get all the data. the method returns vector of objects (query results). Can I use vector instead of List?

  • Flex Advanced datagrid Auto-sort Disable

    is there any way to remove the auto-sorting in advanceddatagrid in flex 3. i need columns to get sorted only on clicking of headers not with the change of value in editable ADG.

    Alright guys I got the answer. The previous coder was using AdvancedDataGridColumnGroup unnecessarily.
    The ADGColumnGroup has a default behavior of not showing sort arrow.
    So the answer is to use ADGColumn.
    Bhargav

Maybe you are looking for

  • Does it sync with iCloud

    Hello. I cant figure out how to sync Pages on my iPad with Pages on my MacBook Pro trough iCloud. How does it work? Regs, Michael

  • External Cash Desk

    Hi, In the FICA module of my project one new concept "External Cash Desk" is going to be introduced where they are claiming that payment will be posted directly. this is totally new for me. They are saying that PI will take the responsibility here to

  • Error starting PhotoShop Elements 2 under Rosetta on 10.6

    First, yes, I know that Elements 2 is quite old. But, I've been using it under Tiger on my PowerPC for years. I do plan to purchase CS 5 in the near future. But, for now, I'm using Elements 2. Just installed Rosetta on my new iMac. I'd like to run Ph

  • Random IP Addresses stopping me use the internet

    Not sure how best to explain this, as it is an intermittent problem. I have a macbook pro that uses the internet fine, no problems. I have a small PC laptop that uses the internet fine, no problems. I have a Power PC dual 450Mhz attempting to use the

  • CSS different link styles

    how can I create different links styles within the same element? Can I do something like this? a { color: #999; text-decoration: none; a:hover { color: #333; a:active { color: #999; a.style2 { color: #363; text-decoration: underline; font-weight: bol