Skip to main content
Participant
May 26, 2010
Question

how to populate ext combobox from sql database

  • May 26, 2010
  • 2 replies
  • 1039 views

I have a combobox displayed in a toolbar for cfgrid (coldfusion 9 and extjs 2)

I would like to populate the combobox from sql database currenlty I populate it statically

Thanks

    This topic has been closed for replies.

    2 replies

    July 8, 2010

    Hi Sohair,

    I have exactly the same problem but I cannot figure how to populate combobox from sql database.

    Can you please share the code?

    Thanks!

    Participant
    May 26, 2010

    Thanks I found how to do it.

    ilssac
    Inspiring
    May 26, 2010

    Ok, I was going to ask how do you do it statically.

    How could you use a variable there (if you are not doing so already)

    And then how could you use a database query to populate that variable.

    If you had posted some code, some of these questions would probably have already been answered.

    But since you figured it out, maybe you would volenteer to post what you did, just incase somebody else comes along with this question.