jQuery UI Widgets Forums Grid Updatebounddata and grid state

This topic contains 3 replies, has 3 voices, and was last updated by  Mardok 9 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Updatebounddata and grid state #63487

    pete
    Participant

    Hi,

    I have a refresh button that calls updatebounddata to refresh the contents of a grid. If I press the button in quick succession, I get an error saying the data is still loading and the bindcomplete event is called when it’s finished.
    Is there a way of knowing the loading status of the grid before I call the updatebounddata method or will I need to manually create a “state” variable that changes in the bindcomplete event?

    Regards,
    Peter.

    Updatebounddata and grid state #63498

    Dimitar
    Participant

    Hello Peter,

    I think the solution with a “state” variable which is set in the bindingcomplete (not bindcomplete) event is the most appropriate.

    Best Regards,
    Dimitar

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

    Updatebounddata and grid state #63565

    Mardok
    Participant

    Hello Dimitar,
    I’m restoring state on bindingcomplete event but columnsReorder doesn’t work after that. If I put load state code on some button and click it after data refreshed everything works as expected. Cannot provide jsfiddle example because I’m using remote data load. Can you help me to solve this issue?

    Updatebounddata and grid state #63569

    Mardok
    Participant

    I figured out what was the issue – it is in my server code – grid state was not serialized completely and property draggable was missed.
    Sorry for disturbing.

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

You must be logged in to reply to this topic.