Combobox selection Issue inside GridPanel, upgrading from 1.X to 3.X

  1. #1

    Combobox selection Issue inside GridPanel, upgrading from 1.X to 3.X

    Hi,
    we are upgrading from 1.X to 3.X.
    we have issue in gridpanel while assigning the values to Combobox (ActionType field) inside grid panel.
    on page load we see only the ID value(ActionType field) is displaying not the actual selection Text in Combobox inside the gridpanel.
    Incase any event(shorting/filter) happens inside the gridpanel we can see the actual selection record in the Combobox.

    Thanks in advance

    Click image for larger version. 

Name:	GridpanelIssue.jpg 
Views:	1 
Size:	58.8 KB 
ID:	22981
  2. #2

    Highlight selection in MultiCombo inside the gridpanel (version 3.x)

    Hi,

    With reference to the link given below.

    http://forums.ext.net/showthread.php...loading-record

    We are using both Multicombo and combobox inside the gridpanel.
    We are able to map the exact matching value with the combobox inside the gridpanel.

    But we not able to highlight the selection values in Multicombo

    If we have single value selected in Multicombo we can see it highlighted. but its not working with multiple selection.
    Need some help in this.
     <ext:Column runat="server" ColumnID="colShareToIndividualName" Header="ShareToIndividualName" Width="250"
                        DataIndex="CUserID" Editable="true">
                        <Renderer Fn="rendererShareToIndividualName" />
                        <Editor>
                            <ext:MultiCombo ID="cboShareToIndividualName" Mode="Local" StoreID="shareToIndividualName"
                                DisplayField="CommercialName" ValueField="CUserID" runat="server" EnableViewState="true">
                                 
                            </ext:MultiCombo>
                        </Editor>
                        <Filter>
                            <ext:ListFilter/>
                        </Filter>
                    </ext:Column>
    
            function rendererShareToIndividualName(value) {
                if (value == undefined || value == '') {
                    return '';
                }
                else {
                    
                    var values = value.split(',');
                    var retValue = '';
                    var combo = Ext.getCmp('cboShareToIndividualName');
                    for (var i = 0; i < values.length; i++) {
                        var idx = combo.store.find(combo.valueField, values[i]);
                        var rec = combo.store.getAt(idx);
                        if (idx != -1) {
                            if (retValue == '') {
                                retValue += rec.get(combo.displayField);
                            }
                            else {
                                retValue += ',' + rec.get(combo.displayField);
                            }
                        }
                    }
                    return retValue;
                }
            }

Similar Threads

  1. [CLOSED] Combobox selection issue
    By bogc in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Sep 30, 2014, 1:28 PM
  2. Replies: 6
    Last Post: Jun 30, 2014, 5:51 PM
  3. [CLOSED] ComboBox inside DropDownField causes it to collapse on item selection
    By Leonid_Veriga in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 13, 2014, 12:43 PM
  4. [CLOSED] Gridpanel Row selection Issue
    By WHISHWORKS in forum 2.x Legacy Premium Help
    Replies: 7
    Last Post: Jul 30, 2013, 5:20 AM
  5. [CLOSED] License key issue after upgrading to 2.1
    By MTSI in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 14, 2013, 12:29 PM

Tags for this Thread

Posting Permissions