jQWidgets Forums

jQuery UI Widgets Forums Grid streaming data change cell values

This topic contains 2 replies, has 2 voices, and was last updated by  jahnvi25 8 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • streaming data change cell values #92906

    jahnvi25
    Participant

    i already looked the virtual scrolling demo for streaming data.. but in our case number of rows will not changed.. but cell values will be updated (couple of times per second) what is the best approach to do that ?

    use ‘setcellvalue’ method ? and if i use this method.. then how can i update localdata–> datafield value ?
    or any other way ?

    Thanks

    streaming data change cell values #92919

    Peter Stoev
    Keymaster

    You can use the Grid method “updatebounddata” and pass “cells” as argument.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    streaming data change cell values #93096

    jahnvi25
    Participant

    i tried to call ‘updatebounddata’ after i do

    $(“#jqxgrid”).jqxGrid(‘setcellvalue’, rowId, “volume”, obj.accumulatedVolume);

    $(“#jqxgrid”).jqxGrid(‘updatebounddata’,’cells’);

    but this is not working.. by using just “setcellvalue” it does refreshing grid. but if i use “udatebounddata” then it does not change value on screen at all..

    how can i use it correctly so that it can refreshes the cell value as well..

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

You must be logged in to reply to this topic.