Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Page auto scrolling to the top issue.

    Hi,

    We are having an issue that the page always auto scrolls to the top when we do some actions on the containing TreeGrid.

    We are using SmartClient_v82p_2012-10-09_PowerEdition on IE9 and FF12.

    we find it is not reproducible on SmartClient_v82p_2012-06-06_PowerEdition and SmartClient_v83p_2013-02-04_PowerEdition. However, we cannot upgrade to the latest 8.3 build right now. Could we just get a patch to apply to our current build to resolve this issue?

    Steps to reproduce with the following code:

    1. Scroll down to the bottom of the page by the scroll bar on the page.
    2a. Drag the scroll bar of the tree to scroll down - The page moves up to the top.
    2b. Click the "Deselect All" button at the bottom of the page - The page moves up to the top.

    Thanks for your help!

    Code:
    <HTML><HEAD><TITLE>Iamge</TITLE>
        <SCRIPT>var isomorphicDir = "isomorphic/"</SCRIPT>
    	<SCRIPT SRC=isomorphic/system/modules/ISC_FileLoader.js></SCRIPT>
        <SCRIPT SRC=isomorphic/system/modules/ISC_Core.js></SCRIPT>
        <SCRIPT SRC=isomorphic/system/modules/ISC_Foundation.js></SCRIPT>
        <SCRIPT SRC=isomorphic/system/modules/ISC_Containers.js></SCRIPT>
        <SCRIPT SRC=isomorphic/system/modules/ISC_Grids.js></SCRIPT>
        <SCRIPT SRC=isomorphic/system/modules/ISC_Forms.js></SCRIPT>
        <SCRIPT SRC=isomorphic/system/modules/ISC_DataBinding.js></SCRIPT>
    	<SCRIPT SRC=isomorphic/skins/Enterprise/load_skin.js></SCRIPT>
    </HEAD><BODY CLASS="pageBackground">
    
    
    <SCRIPT>
    var testData2=[
    {pk:0, orderID:629, itemDescription:"18 inch flat panel monitor",
        category:"Hardware", shipDate:new Date(2009,11,11), quantity:2 , unitPrice:375 },
    {pk:1, orderID:629, itemDescription:"Office Productivity Suite", 
        category:"Software", shipDate:new Date(2009,12,10), quantity:15 , unitPrice:64.99 },
    {pk:2, orderID:1264, itemDescription:"Office Productivity Suite",
        category:"Software", shipDate:new Date(2009,12,20), quantity:2 , unitPrice:64.99 },
    {pk:3, orderID:7100, itemDescription:"USB Ergonomic Keyboard",
        category:"Hardware", shipDate:new Date(2009,10,20), quantity:6 , unitPrice:99.99 },
    {pk:4, orderID:9647, itemDescription:"Consulting Services",
        category:"Services", shipDate:new Date(2009,12,21), quantity:10 , unitPrice:100 },
    {pk:5, orderID:8468, itemDescription:"USB Optical Mouse",
        category:"Hardware", shipDate:new Date(2009,10,10), quantity:5 , unitPrice:29.99 },
    {pk:6, orderID:9496, itemDescription:"Off-site Training",
        category:"Services", shipDate:new Date(2010,1,1), quantity:35 , unitPrice:80 },
    {pk:7, orderID:5124, itemDescription:"USB Stereo Headset",
        category:"Hardware", shipDate:new Date(2009,10,20), quantity:1 , unitPrice:69.99 },
    {pk:8, orderID:1799, itemDescription:"Office Application Suite",
        category:"Software", shipDate:new Date(2009,11,2), quantity:22 , unitPrice:30 },
    {pk:9, orderID:7020, itemDescription:"Consulting Services",
        category:"Services", shipDate:new Date(2009,12,20), quantity:100 , unitPrice:80 },
    {pk:10, orderID:629, itemDescription:"18 inch flat panel monitor",
        category:"Hardware", shipDate:new Date(2009,11,11), quantity:2 , unitPrice:375 },
    {pk:11, orderID:629, itemDescription:"Office Productivity Suite", 
        category:"Software", shipDate:new Date(2009,12,10), quantity:15 , unitPrice:64.99 },
    {pk:12, orderID:1264, itemDescription:"Office Productivity Suite",
        category:"Software", shipDate:new Date(2009,12,20), quantity:2 , unitPrice:64.99 },
    {pk:13, orderID:7100, itemDescription:"USB Ergonomic Keyboard",
        category:"Hardware", shipDate:new Date(2009,10,20), quantity:6 , unitPrice:99.99 },
    {pk:14, orderID:9647, itemDescription:"Consulting Services",
        category:"Services", shipDate:new Date(2009,12,21), quantity:10 , unitPrice:100 },
    {pk:15, orderID:8468, itemDescription:"USB Optical Mouse",
        category:"Hardware", shipDate:new Date(2009,10,10), quantity:5 , unitPrice:29.99 },
    {pk:16, orderID:9496, itemDescription:"Off-site Training",
        category:"Services", shipDate:new Date(2010,1,1), quantity:35 , unitPrice:80 },
    {pk:17, orderID:5124, itemDescription:"USB Stereo Headset",
        category:"Hardware", shipDate:new Date(2009,10,20), quantity:1 , unitPrice:69.99 },
    {pk:18, orderID:1799, itemDescription:"Office Application Suite",
        category:"Software", shipDate:new Date(2009,11,2), quantity:22 , unitPrice:30 },
    {pk:19, orderID:7020, itemDescription:"Consulting Services",
        category:"Services", shipDate:new Date(2009,12,20), quantity:100 , unitPrice:80 },
    {pk:20, orderID:629, itemDescription:"18 inch flat panel monitor",
        category:"Hardware", shipDate:new Date(2009,11,11), quantity:2 , unitPrice:375 },
    {pk:21, orderID:629, itemDescription:"Office Productivity Suite", 
        category:"Software", shipDate:new Date(2009,12,10), quantity:15 , unitPrice:64.99 },
    {pk:22, orderID:1264, itemDescription:"Office Productivity Suite",
        category:"Software", shipDate:new Date(2009,12,20), quantity:2 , unitPrice:64.99 },
    {pk:23, orderID:7100, itemDescription:"USB Ergonomic Keyboard",
        category:"Hardware", shipDate:new Date(2009,10,20), quantity:6 , unitPrice:99.99 },
    {pk:24, orderID:9647, itemDescription:"Consulting Services",
        category:"Services", shipDate:new Date(2009,12,21), quantity:10 , unitPrice:100 },
    {pk:25, orderID:8468, itemDescription:"USB Optical Mouse",
        category:"Hardware", shipDate:new Date(2009,10,10), quantity:5 , unitPrice:29.99 },
    {pk:26, orderID:9496, itemDescription:"Off-site Training",
        category:"Services", shipDate:new Date(2010,1,1), quantity:35 , unitPrice:80 },
    {pk:27, orderID:5124, itemDescription:"USB Stereo Headset",
        category:"Hardware", shipDate:new Date(2009,10,20), quantity:1 , unitPrice:69.99 },
    {pk:28, orderID:1799, itemDescription:"Office Application Suite",
        category:"Software", shipDate:new Date(2009,11,2), quantity:22 , unitPrice:30 },
    {pk:29, orderID:7020, itemDescription:"Consulting Services",
        category:"Services", shipDate:new Date(2009,12,20), quantity:100 , unitPrice:80 },
    {pk:30, orderID:629, itemDescription:"18 inch flat panel monitor",
        category:"Hardware", shipDate:new Date(2009,11,11), quantity:2 , unitPrice:375 },
    {pk:41, orderID:629, itemDescription:"Office Productivity Suite", 
        category:"Software", shipDate:new Date(2009,12,10), quantity:15 , unitPrice:64.99 },
    {pk:42, orderID:1264, itemDescription:"Office Productivity Suite",
        category:"Software", shipDate:new Date(2009,12,20), quantity:2 , unitPrice:64.99 },
    {pk:43, orderID:7100, itemDescription:"USB Ergonomic Keyboard",
        category:"Hardware", shipDate:new Date(2009,10,20), quantity:6 , unitPrice:99.99 },
    {pk:44, orderID:9647, itemDescription:"Consulting Services",
        category:"Services", shipDate:new Date(2009,12,21), quantity:10 , unitPrice:100 },
    {pk:45, orderID:8468, itemDescription:"USB Optical Mouse",
        category:"Hardware", shipDate:new Date(2009,10,10), quantity:5 , unitPrice:29.99 },
    {pk:46, orderID:9496, itemDescription:"Off-site Training",
        category:"Services", shipDate:new Date(2010,1,1), quantity:35 , unitPrice:80 },
    {pk:47, orderID:5124, itemDescription:"USB Stereo Headset",
        category:"Hardware", shipDate:new Date(2009,10,20), quantity:1 , unitPrice:69.99 },
    {pk:48, orderID:1799, itemDescription:"Office Application Suite",
        category:"Software", shipDate:new Date(2009,11,2), quantity:22 , unitPrice:30 },
    {pk:49, orderID:7020, itemDescription:"Consulting Services",
        category:"Services", shipDate:new Date(2009,12,20), quantity:100 , unitPrice:80 },
    {pk:50, orderID:629, itemDescription:"18 inch flat panel monitor",
        category:"Hardware", shipDate:new Date(2009,11,11), quantity:2 , unitPrice:375 },
    {pk:51, orderID:629, itemDescription:"Office Productivity Suite", 
        category:"Software", shipDate:new Date(2009,12,10), quantity:15 , unitPrice:64.99 },
    {pk:52, orderID:1264, itemDescription:"Office Productivity Suite",
        category:"Software", shipDate:new Date(2009,12,20), quantity:2 , unitPrice:64.99 },
    {pk:53, orderID:7100, itemDescription:"USB Ergonomic Keyboard",
        category:"Hardware", shipDate:new Date(2009,10,20), quantity:6 , unitPrice:99.99 },
    {pk:54, orderID:9647, itemDescription:"Consulting Services",
        category:"Services", shipDate:new Date(2009,12,21), quantity:10 , unitPrice:100 },
    {pk:55, orderID:8468, itemDescription:"USB Optical Mouse",
        category:"Hardware", shipDate:new Date(2009,10,10), quantity:5 , unitPrice:29.99 },
    {pk:56, orderID:9496, itemDescription:"Off-site Training",
        category:"Services", shipDate:new Date(2010,1,1), quantity:35 , unitPrice:80 },
    {pk:57, orderID:5124, itemDescription:"USB Stereo Headset",
        category:"Hardware", shipDate:new Date(2009,10,20), quantity:1 , unitPrice:69.99 },
    {pk:58, orderID:1799, itemDescription:"Office Application Suite",
        category:"Software", shipDate:new Date(2009,11,2), quantity:22 , unitPrice:30 },
    {pk:59, orderID:7020, itemDescription:"Consulting Services",
        category:"Services", shipDate:new Date(2009,12,20), quantity:100 , unitPrice:80 },
    {pk:60, orderID:629, itemDescription:"18 inch flat panel monitor",
        category:"Hardware", shipDate:new Date(2009,11,11), quantity:2 , unitPrice:375 },
    {pk:61, orderID:629, itemDescription:"Office Productivity Suite", 
        category:"Software", shipDate:new Date(2009,12,10), quantity:15 , unitPrice:64.99 },
    {pk:62, orderID:1264, itemDescription:"Office Productivity Suite",
        category:"Software", shipDate:new Date(2009,12,20), quantity:2 , unitPrice:64.99 },
    {pk:63, orderID:7100, itemDescription:"USB Ergonomic Keyboard",
        category:"Hardware", shipDate:new Date(2009,10,20), quantity:6 , unitPrice:99.99 },
    {pk:64, orderID:9647, itemDescription:"Consulting Services",
        category:"Services", shipDate:new Date(2009,12,21), quantity:10 , unitPrice:100 },
    {pk:65, orderID:8468, itemDescription:"USB Optical Mouse",
        category:"Hardware", shipDate:new Date(2009,10,10), quantity:5 , unitPrice:29.99 },
    {pk:66, orderID:9496, itemDescription:"Off-site Training",
        category:"Services", shipDate:new Date(2010,1,1), quantity:35 , unitPrice:80 },
    {pk:67, orderID:5124, itemDescription:"USB Stereo Headset",
        category:"Hardware", shipDate:new Date(2009,10,20), quantity:1 , unitPrice:69.99 },
    {pk:68, orderID:1799, itemDescription:"Office Application Suite",
        category:"Software", shipDate:new Date(2009,11,2), quantity:22 , unitPrice:30 },
    {pk:69, orderID:7020, itemDescription:"Consulting Services",
        category:"Services", shipDate:new Date(2009,12,20), quantity:100 , unitPrice:80 }];
    
    
    
    isc.DataSource.create({
        ID:"orderItemLocal2",
        clientOnly:true,
        testData:testData2,
        fields:[
            {name:"pk", type:"sequence", primaryKey:"true", hidden:"true"},
            {name:"orderID", type:"integer", canEdit:false, title:"Order ID", pluralTitle:"Orders"},
            {name:"itemDescription", type:"text", title:"Description"},
            {name:"category", type:"text", title:"Category"},
            {name:"shipDate", type:"date", title:"Ship Date"},
            {name:"quantity", type:"integer", title:"Quantity"},
            {name:"unitPrice", type:"float", title:"Price"}
        ]
    });
    
    
    
    isc.VStack.create({
    width: "100%",
    height: "100%",
    overflow:"auto",
    members: [
    isc.DynamicForm.create({
    height: 100,
    fields: [{title: "Text Field", type: "text"}]
    }),
    isc.TreeGrid.create({
        ID: "employeeTree",
        width: 500,
        height: 400,
        dataSource: "orderItemLocal2",
        autoFetchData:true,
        autoFitData: "vertical",
        dataProperties:{
            loadDataOnDemand:false,
            dataArrived:function (parentNode) {
                this.openAll();
            }
        }
    }),
    isc.Button.create({
    title:"Deselect All",
    click: function() {
    employeeTree.deselectAllRecords();
    }
    })
    ]
    });
    
    </SCRIPT></BODY></HTML>

    #2
    Hi,

    This is an urgent issue which prevents our client from building their production. If there's any update, could you please let us know ASAP? Thanks!

    Comment


      #3
      One of our developers is currently investigating. We will update when we have more information.

      Comment


        #4
        we find it is not reproducible on SmartClient_v82p_2012-06-06_PowerEdition and SmartClient_v83p_2013-02-04_PowerEdition. However, we cannot upgrade to the latest 8.3 build right now. Could we just get a patch to apply to our current build to resolve this issue?
        We are unable to reproduce the problem with the latest 8.2p build (8.2p_2013-02-19). It seems like you should be able to simply update to the latest 8.2p patch build and the issue will be resolved (no need to upgrade to 8.3)

        Regards
        Isomorphic Software

        Comment

        Working...
        X