1. #71
    Ext User
    Join Date
    May 2008
    Posts
    12
    Vote Rating
    0
    tassz is on a distinguished road

      0  

    Smile MULTISELECT COMBO

    MULTISELECT COMBO


    Hi mjlecomte

    Thanks for the links..

  2. #72
    Ext User
    Join Date
    Jun 2008
    Location
    Joensuu, Finland
    Posts
    16
    Vote Rating
    0
    pafciu17 is on a distinguished road

      0  

    Default Question

    Question


    Hi, I am quite new in using Ext. I work with that example a bit and find it very good.
    But I have question. I want to add listener to editor of combobox, and I want do some action on record when combobox is change, but i dont know how to get information about which record is changing into that function. Mayby somone know?
    Code:
    {
                        dataIndex: 'industryID',
                        header: "Industry",
                        sortable: false, 
                        width: 23, 
                        
                        //create a dropdown based on server side data (from db)
                        editor: new Ext.form.ComboBox({ 
                            //if we enable typeAhead it will be querying database
                            //so we may not want typeahead consuming resources
                            typeAhead: false, 
                            triggerAction: 'all',
                            
                            //By enabling lazyRender this prevents the combo box
                            //from rendering until requested
                            lazyRender: true,//should always be true for editor
    
                            //where to get the data for our combobox
                            store: dsIndustry,
                            
                            //the underlying data field name to bind to this
                            //ComboBox (defaults to undefined if mode = 'remote'
                            //or 'text' if transforming a select)
                            displayField: 'industryName',
                            
                            //the underlying value field name to bind to this
                            //ComboBox
                            valueField: 'industryID',
                            listeners: {
                                change : function() {
                                    //some instructions
                                }
                            }
                        }),
                        renderer:  //custom rendering specified inline
                                function(data) {
                                    record = dsIndustry.getById(data);
                                    if(record) {
                                        return record.data.industryName;
                                    } else {
                                        //return data;
                                        return 'missing data';
                                    }
                                }
                    });
    Last edited by mystix; 8 Jun 2008 at 5:14 PM. Reason: use [code][/code] tags

  3. #73
    Ext User
    Join Date
    Jul 2008
    Posts
    13
    Vote Rating
    0
    parag.r@iworktech.com is on a distinguished road

      0  

    Post


    HI:

    I have tried running this example but it is not working at my side. In IE explorer it shows nothing.

    When I clicks on Done warning message it shows "Object Expected".

    I am not able to find out where the problem is? Could you please help me out to find it?

  4. #74
    Ext User
    Join Date
    May 2008
    Posts
    12
    Vote Rating
    0
    tassz is on a distinguished road

      0  

    Default Try Firefox

    Try Firefox


    Have you used Firefox (2.0 or 3.0) instead using of IE7, which is problematic....

    Tassz

  5. #75
    Ext User
    Join Date
    Jul 2008
    Posts
    13
    Vote Rating
    0
    parag.r@iworktech.com is on a distinguished road

      0  

    Post


    Hi:

    I tried it using firefox. The message is not comming i.e. Object Expected.

    But the screen is comming as blank.

    I mean no output.............?

  6. #76
    Ext User
    Join Date
    May 2008
    Posts
    12
    Vote Rating
    0
    tassz is on a distinguished road

      0  

    Default


    Hi

    what tutorials are you working from?

    and can you send me a link?

    Tassz

  7. #77
    Ext User
    Join Date
    Jul 2008
    Posts
    13
    Vote Rating
    0
    parag.r@iworktech.com is on a distinguished road

      0  

    Post


    http://extjs.com/forum/showthread.php?t=10002 this is the link I am referring to connect to mysql database and show data in grid using EXT JS.

    I have followed all the steps as mentioned in the post but still not able run it fine.

  8. #78
    Ext User
    Join Date
    May 2008
    Posts
    12
    Vote Rating
    0
    tassz is on a distinguished road

      0  

    Default Ext js?

    Ext js?


    Hi

    I also had problem with Ext js when using it with Coldfusion 8/Mysql 5.0...

    Instead I've moved away from ext js, and found Coldfusion/Dhtmlx more reliable and they offer better support and examples...

    Coldfusion is a growing technolgy for webbased development, and the forums are good (type: houseoffusion in browser serach engine)

    The link for ColdFusion is:http://www.adobe.com/support/coldfusion/downloads.html

    The link for dhtmlx is: http://www.dhtmlx.com/

    Hope that this is of some help!

    Tassz

  9. #79
    Ext User
    Join Date
    May 2008
    Posts
    12
    Vote Rating
    0
    tassz is on a distinguished road

      0  

    Default Ext js

    Ext js


    Finally in your code I can't see where you have assigned the database name - the same name of your mysql db...

    I also got problems at this stage, that's why I changed to Coldfusion & dhtmlx gridt Definitions */ @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-familywiss; mso-font-pitch:variable; mso-font-signature:-1593833729 1073750107 16 0 415 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:Verdana; mso-fareast-font-family:"Times New Roman"; mso-bidi-font-family:"Times New Roman"; mso-ansi-language:EN-GB;} code {font-family:"Courier New"; mso-ascii-font-family:"Courier New"; mso-fareast-font-family:"Times New Roman"; mso-hansi-font-family:"Courier New"; mso-bidi-font-family:"Courier New";} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} --> ....

    Tassz

  10. #80
    Ext User
    Join Date
    Jul 2008
    Posts
    13
    Vote Rating
    0
    parag.r@iworktech.com is on a distinguished road

      0  

    Post


    But I have to go with Ext JS.

    Thanks for your feedbacks.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi