jQWidgets Forums

jQuery UI Widgets Forums General Discussions Not automatically data binding

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Not automatically data binding #47671

    userbob
    Participant

    Hi,

    I have a requirement to create widgets up front but then not bind the data until later on. However it appears that all the widgets automatically bind data even if the dataAdapter autobind is false (which to be fair is correct as that just stops the autobind for the adapter).

    So to summarise I need to be able to create a widget, assign the dataAdapter to the source but NOT call out for data yet.

    Thanks in advance,

    Richard

    Not automatically data binding #47672

    Peter Stoev
    Keymaster

    Hi Richard,

    Do not set the “source” property of the widget and it would not be bound.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Not automatically data binding #47673

    userbob
    Participant

    Hi Peter,

    Yes I appreciate that it was purely from a style point of view that I wanted to do this. As I wanted to do all my “prep” work up front and then set values on the source later and call data bind. If it isn’t possible though that’s fine I will just have to work around it.

    Regards,

    Richard

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

You must be logged in to reply to this topic.