DataChanged event not firing

Posted by: Javier.Rapoport on 11 October 2017, 6:13 am EST

    • Post Options:
    • Link

    Posted 11 October 2017, 6:13 am EST

    Hello. We have a Spread control in an intranet site which works fine in this building, but does not work well from our Australian office. It appears that the DataChanged event is not fired when I leave the cell after changing the value. There is some network lag across the ocean, but I’m not sure why that would affect this client side event.

    Any ideas?

    We are using: C#, MVC3, Spread 9.4. Here is our JavaScript:

    
            $('#FpSpread1').bind('DataChanged', function (event) {
                alert('DataChanged'); // this always fires in USA but does not fire consistently in Australia 
            });
    
    		$('#FpSpread1').bind('ActiveCellChanged', function (event) {
    			alert('ActiveCellChanged'); // this always fires in both countries
    		});
    
    
  • Posted 12 October 2017, 2:19 am EST

    Hello,

    I can’t think of any issue other than the browser. May I know what browser you are facing this issue with in Australia?

    Thanks,

    Deepak Sharma

  • Posted 12 October 2017, 2:44 am EST

    Thanks for the reply, Deepak. We are using IE11 on Win7 Enterprise SP1 in both US and AUS. The only difference I’m aware of is the network lag. The servers are in the US office.

    I’m not seeing the DataChanged event in AUS when I change a combo box. This works fine in the US however. Any help appreciated.

    Best,

    Javier

  • Posted 15 October 2017, 8:41 pm EST

    Hi Javier,

    OnDataChanged is a client side event and it does not depend on server. I can’t think of any dependency other than the browser. Do you see other client side events working?

    Could please check our online demo and let me know if you see the client side working or not?

    http://demos.componentone.com/Spread/ASPNET/ControlExplorer_v10/samples/ContextMenu/Overview.aspx

    Thanks,

    Deepak Sharma

  • Posted 16 October 2017, 4:48 am EST

    Hi Deepak,

    I do see other client side events firing (ex. ActiveCellChanged). We are unable to save data back to our server because the spread seems unaware of any changes made. The demo seems to work fine but I can’t verify whether the DataChanged event happened or not.

  • Posted 16 October 2017, 6:24 pm EST

    Hi Javier,

    Thank you for confirming that you are able to get other client side events working.

    This is a very strange scenario.

    Could you please provide me following information:

    1. Are you facing this issue with “onDataChanged” only on one machine or several machines?
    2. Are you facing this issue with only one application or none of the applications work for onDataChanged event?
    3. What is the language are you using to enter data in the cell, what is the system locale?
    4. Please check the data at server side after updating it using the Update button and let me know if the updated value can be checked at server side.

    regards,

    Deepak Sharma

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels