[CLOSED] ComboBox keyboard navigation for grouped results

  1. #1

    [CLOSED] ComboBox keyboard navigation for grouped results

    Hi, im trying to group an Combobox Result into GroupTitle > Results with an template.
    The problem is that the keyboard navigation selects only the items on Level1.
    Is there a way to set the ItemSelector Base to the complex RecordField "Results" (Level2) ?
    The itemselector for mouse over is ok.

    Click image for larger version. 

Name:	Unbenannt.JPG 
Views:	117 
Size:	21.5 KB 
ID:	2964

                <ext:Store ID="storeCustomers" runat="server" AutoLoad="true">
                    <Proxy>
                        <ext:HttpProxy Url="/Data/DoSearch"></ext:HttpProxy>
                    </Proxy>
                    <Reader>
                        <ext:JsonReader Root="data" TotalProperty="total">
                            <Fields>
                                <ext:RecordField Name="Title" />
                                <ext:RecordField Name="Results" IsComplex="true" />
                            </Fields>
                        </ext:JsonReader>
                    </Reader>
                    <BaseParams>
                        <ext:Parameter Name="Query" Value="cboxSearch.getText()" Mode="Raw"></ext:Parameter>
                    </BaseParams>
                </ext:Store>
                <ext:ComboBox ID="cboxSearch" 
                    runat="server"
                    DisplayField="Name" 
                    TypeAhead="false"
                    LoadingText="Search..." 
                    HideTrigger="true" SelectOnFocus="true" 
                    AutoWidth="true"
                    Width="200"
                    ListWidth="500"
                    Cls="search"
                    ItemSelector=".sitem" DataIndex="Results"       
                    MinChars="1"
                    StoreID="storeCustomers">
                    <Template ID="cboxSearchTemplate" runat="server">
                        <Html>
                            <tpl for=".">
                                <div class="sgroup">
                                    <h3>{Title}</h3>
                                    <tpl for="Results">
                                        <div class="sitem">{Title}</div>
                                    </tpl>
                                </div>
                            </tpl>
                        </Html>
                    </Template>
                </ext:ComboBox>
    Last edited by Daniil; Jul 18, 2011 at 2:43 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Unfortunately, there is no such functionality.
  3. #3
    Quote Originally Posted by Daniil View Post
    Unfortunately, there is no such functionality.
    I meant navigation through groups - kew down moves to a next group, key up - to a previous group.

    It seems I misunderstood.

    Please provide a full sample to reproduce. (I think a HttpProxy is not required to reproduce, just bind data within Page_Load.)

    Generally speaking, it should work.

Similar Threads

  1. [CLOSED] Highlight search results
    By bakardi in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jun 21, 2012, 7:58 PM
  2. [CLOSED] TabPanel Keyboard Navigation
    By softmachine2011 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Nov 14, 2011, 8:52 AM
  3. [CLOSED] Help with Focus/Key Navigation in Search/Results/Detail pattern
    By randy85253 in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jun 28, 2010, 11:36 AM
  4. Replies: 3
    Last Post: Oct 02, 2009, 6:04 AM
  5. Replies: 1
    Last Post: Dec 12, 2008, 1:10 PM

Tags for this Thread

Posting Permissions