jQWidgets Forums

jQuery UI Widgets Forums TreeGrid jqxTreeGrid Streamed Data Sockets

This topic contains 2 replies, has 2 voices, and was last updated by  jqwidgetsdev 8 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • jqxTreeGrid Streamed Data Sockets #85447

    jqwidgetsdev
    Participant

    Hello.

    I was wondering is there a particular way for jQWidgets to process streamed data using sockets?

    Thank you.

    jqxTreeGrid Streamed Data Sockets #85460

    Christopher
    Participant

    Hi jqwidgetsdev,

    this feature isn’t officially supported for multiple reasons. One of them is because an error might be thrown when you initiate an update operation before another one has completed (due to asynchronicity). Although it could be possible to make it work if you are wiling to try. You should be able to load the data that you receive to a dataAdapter and then load it as a source to the treegrid or save the received data to a local file and add the data to the treegrid(addRow) and then refresh it. Overall it’s not a good idea to load streamed data to a treegrid, because there’s no way of knowing when and what updated, not to menton that this will seriously affect the operation of the widget.

    Best Regards,
    Christopher

    jQWidgets Team
    http://www.jqwidgets.com

    jqxTreeGrid Streamed Data Sockets #85497

    jqwidgetsdev
    Participant

    Thanks Christopher.

    Ok. What I understand from the above is, if the TreeGrid is readonly so and only responds to streamed updates, then the use of streamed (pushed) data with TreeGrid is supported?

    Please confirm.

    Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.