"Live Search" sql example

  1. #1

    "Live Search" sql example

    Do you have an example of the Combo with Templates and Ajax using a SQL connection?

    James
  2. #2

    RE: "Live Search" sql example

    Hi James,

    We don't have a specific sample demonstrating that scenario, but there are several examples in the GridPanel section demonstrating using a Store in conjunction with various DataSource controls.


    Geoffrey McGill
    Founder
  3. #3

    RE: "Live Search" sql example

    Would this be a good solution for a combobox with 6000+ entries?

    James
  4. #4

    RE: "Live Search" sql example



    Has the template for the combobox changed? The Coolite Example shows
    <ext:ComboBox 
                    ID="ComboBox1"
                    runat="server" 
                    StoreID="Store1"
                    DisplayField="Common" 
                    ValueField="Common"
                    TypeAhead="false"
                    LoadingText="Searching..." 
                    Width="570"
                    PageSize="10"
                    HideTrigger="true"
                    ItemSelector="div.search-item"        
                    MinChars="1">
                    <Template runat="server">
                       <tpl for=".">
                          <div class="search-item">
                             <h3>${Price}{Common}</h3>
                             {Botanical}
                          
    
                       </tpl>
                    </Template>
                </ext:ComboBox>
    the <tpl> tags are not in the intelisense, instead there is CustomConfig.

    James
  5. #5

    RE: "Live Search" sql example

    I copied your example of the Live Search into my project and it would not run. I got the error: Could not create type 'Coolite.Examples.Examples.Form.ComboBox.Custom_Se arch.Plants'.

    Have the controls changed since this example was written? Do you have a new example?

    James

Similar Threads

  1. Live search
    By Vaishali in forum 1.x Help
    Replies: 3
    Last Post: Apr 03, 2012, 5:31 AM
  2. Live search
    By Yannis in forum 1.x Help
    Replies: 3
    Last Post: Jan 14, 2010, 12:22 AM
  3. Combobox live search
    By Yannis in forum 1.x Help
    Replies: 0
    Last Post: Dec 09, 2009, 10:19 AM
  4. live search
    By olimpia in forum 1.x Help
    Replies: 0
    Last Post: Jun 29, 2009, 5:44 PM
  5. Default value in "search live"
    By Kaido in forum 1.x Help
    Replies: 1
    Last Post: Apr 30, 2009, 7:59 AM

Posting Permissions