jQWidgets Forums

jQuery UI Widgets Forums Lists ComboBox Custom Render Question

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Custom Render Question #57853

    iao93
    Participant

    Hi,

    I have a quick question with regards to the custom render feature in the combobox.

    I would like to retrieve the image for each item in the combo list directly from my Postgres DB. (My server side code is still in C# so I have to use a WebService to retrieve the image).

    Would this be possible?

    Thanks in Advance,
    AJ

    Custom Render Question #57865

    Peter Stoev
    Keymaster

    Hi iao93,

    This will not be possible to happen in the custom render function. I suggest you to retrieve your images through Ajax call before creating the widget and then build some custom Array which holds you images and use that array in the widget’s custom render function.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Custom Render Question #57885

    iao93
    Participant

    Hi Peter,

    Thank you for you timely reply. I will do that and let you know of the results. I think it may be best to just get the files first and keep them in a folder on my webserver. Will see how it goes.

    Regards,
    AJ

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

You must be logged in to reply to this topic.