Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

potential defect in ListGrid configured for paging?

$
0
0
SmartClient Version: v9.1p_2014-10-20/PowerEdition Deployment (built 2014-10-20)
GWT 2.6.1
IE-11

I have a ListGrid setup for paging and progressive loading. Looking in the SmartClient Developer's Console's RPC tab, I see the first DSRequest go out OK. Then I start to scroll down, and when the ListGrid makes the 2nd DSRequest for more records, I see 2 DSRequests going out that are identical that are 1.8 seconds apart when there should only be 1 DSRequest going out to fetch more records? At this point, the ListGrid no longer makes requests to load more records, even though I know there are more to be fetched.

The first DSResponse looks like this:
Code:

        endRow:99,
        invalidateCache:false,
        isDSResponse:true,
        queueStatus:0,
        startRow:0,
        status:0,
        totalRows:199

The second double DSResponses (from the double DSRequest from the grid) look like this:
Code:

        endRow:199,
        invalidateCache:false,
        isDSResponse:true,
        queueStatus:0,
        startRow:100,
        status:0,
        totalRows:200

Is this a known bug that has been fixed?

I would only expect 1 DSRequest to go out on the 2nd fetch, not two. Here are the double DSRequests going out:
1
Code:

{
    dataSource:"pivot_table_flat_fact_POF_384_682",
    operationType:"fetch",
    componentId:"isc_ListGrid_4",
    data:{
        spc:[
            "1",
            "2013-10-01",
            "2013-12-31",
            "POF",
            "70:2^682|16:2^Y|1:2",
            "10:2^|12:2^|1:2^|6:2^",
            "5|6|21|29|36|24|25|28|26|30",
            "false",
            "100",
            "199",
            "5",
            "",
            "",
            "",
            "384",
            "2285",
            "682",
            "postTradeEquitiesFactDataSource"
        ]
    },
    startRow:99,
    endRow:199,
    textMatchStyle:"exact",
    resultSet:[ResultSet ID:isc_ResultSet_3 (dataSource: pivot_table_flat_fact_POF_384_682, created by: isc_ListGrid_4)],
    callback:{
        caller:[ResultSet ID:isc_ResultSet_3 (dataSource: pivot_table_flat_fact_POF_384_682, created by: isc_ListGrid_4)],
        methodName:"fetchRemoteDataReply"
    },
    willHandleError:true,
    showPrompt:false,
    prompt:"Loading...",
    oldValues:{
        spc:[
            "1",
            "2013-10-01",
            "2013-12-31",
            "POF",
            "70:2^682|16:2^Y|1:2",
            "10:2^|12:2^|1:2^|6:2^",
            "5|6|21|29|36|24|25|28|26|30",
            "false",
            "100",
            "199",
            "5",
            "",
            "",
            "",
            "384",
            "2285",
            "682",
            "postTradeEquitiesFactDataSource"
        ]
    },
    requestId:"pivot_table_flat_fact_POF_384_682$62723",
    internalClientContext:{
        requestIndex:2
    },
    useStrictJSON:true,
    fallbackToEval:true,
    dataPageSize:100,
    dataFetchMode:"paged",
    lastClientEventThreadCode:"TMR2",
    bypassCache:true
}

2
Code:

{
    dataSource:"pivot_table_flat_fact_POF_384_682",
    operationType:"fetch",
    componentId:"isc_ListGrid_4",
    data:{
        spc:[
            "1",
            "2013-10-01",
            "2013-12-31",
            "POF",
            "70:2^682|16:2^Y|1:2",
            "10:2^|12:2^|1:2^|6:2^",
            "5|6|21|29|36|24|25|28|26|30",
            "false",
            "100",
            "199",
            "5",
            "",
            "",
            "",
            "384",
            "2285",
            "682",
            "postTradeEquitiesFactDataSource"
        ]
    },
    startRow:49,
    endRow:149,
    textMatchStyle:"exact",
    resultSet:[ResultSet ID:isc_ResultSet_3 (dataSource: pivot_table_flat_fact_POF_384_682, created by: isc_ListGrid_4)],
    callback:{
        caller:[ResultSet ID:isc_ResultSet_3 (dataSource: pivot_table_flat_fact_POF_384_682, created by: isc_ListGrid_4)],
        methodName:"fetchRemoteDataReply"
    },
    willHandleError:true,
    showPrompt:false,
    prompt:"Loading...",
    oldValues:{
        spc:[
            "1",
            "2013-10-01",
            "2013-12-31",
            "POF",
            "70:2^682|16:2^Y|1:2",
            "10:2^|12:2^|1:2^|6:2^",
            "5|6|21|29|36|24|25|28|26|30",
            "false",
            "100",
            "199",
            "5",
            "",
            "",
            "",
            "384",
            "2285",
            "682",
            "postTradeEquitiesFactDataSource"
        ]
    },
    requestId:"pivot_table_flat_fact_POF_384_682$62724",
    internalClientContext:{
        requestIndex:3
    },
    useStrictJSON:true,
    fallbackToEval:true,
    dataPageSize:100,
    dataFetchMode:"paged",
    lastClientEventThreadCode:"TMR0",
    bypassCache:true
}

In both DSRequests, the startRow and endRow values are different?

Viewing all articles
Browse latest Browse all 4756

Trending Articles