1. #11
    Sencha User
    Join Date
    Dec 2010
    Posts
    16
    Vote Rating
    0
    jhachero is on a distinguished road

      0  

    Default


    Hi Jack,

    Good morning.

    I completely apologize for bothering you, but do you have any news on this? I know that you are busy with your work and I completely understand.

    Have a nice day.

    Regards,
    Jhachero

  2. #12
    Sencha - Services Team
    Join Date
    Mar 2007
    Location
    Foristell, MO
    Posts
    1,107
    Vote Rating
    3
    jratcliff is on a distinguished road

      0  

    Default


    Yes, I actually do have this working now but I wanted to clean up the appearance of the dialog first. Can you wait for this weekend when I plan on doing that for me to post the update code? If not, I can post it later tonight.

  3. #13
    Sencha User
    Join Date
    Dec 2010
    Posts
    16
    Vote Rating
    0
    jhachero is on a distinguished road

      0  

    Default


    Hi Jack,

    Good day.

    No worries, I can wait for it to be posted on the weekend. Thank you very much for your help. I really appreciate what you guys are doing.

    Regards,
    Jhachero

  4. #14
    Sencha User
    Join Date
    Dec 2010
    Posts
    16
    Vote Rating
    0
    jhachero is on a distinguished road

      0  

    Default


    Hi Jack,

    Good day.

    Sorry to bother you, but have you posted the code somewhere in the forum?

    Thank you.

    Regards,
    jhachero

  5. #15
    Sencha - Services Team
    Join Date
    Mar 2007
    Location
    Foristell, MO
    Posts
    1,107
    Vote Rating
    3
    jratcliff is on a distinguished road

      0  

    Default


    here ya go. unzip this file and replace the corresponding files in your extnd.nsf database with these and let me know if this works for you.
    Attached Files

  6. #16
    Sencha User
    Join Date
    Dec 2010
    Posts
    16
    Vote Rating
    0
    jhachero is on a distinguished road

      0  

    Default


    Hi Jack,

    Good day.

    I was able to test the new files that you have provided.

    1.) the values in the columns of the view are not shown, they are replace by 'NaN'

    2.) the pop up search input box does not work when you press the enter key from the keyboard, you have to press the ok button to search.

    3.) the first row of the results after using the pop up search input box is still not highlighted.

    Please see attached screenshots.

    Thank you.

    TestResults.zip
    Regards,

    Jasper Hachero

  7. #17
    Sencha User
    Join Date
    Feb 2011
    Posts
    28
    Vote Rating
    0
    optiplex is on a distinguished road

      0  

    Default


    thanks for discussing major issue honestly.
    The Game is Over

  8. #18
    Sencha User
    Join Date
    Dec 2010
    Posts
    16
    Vote Rating
    0
    jhachero is on a distinguished road

      0  

    Default


    Hi Jack,

    Good day.

    Were you able to check the screen shots that I have provided?
    Instead of the value of the fields, the columns in the view is showing NaN (not a number).

    What part of the code do I need to check this?

    Thank you.

    Regards,

    Jhachero

  9. #19
    Sencha User
    Join Date
    Dec 2010
    Posts
    16
    Vote Rating
    0
    jhachero is on a distinguished road

      0  

    Default


    Hi Jack,

    Good day.

    Did I do something wrong on the files that you have sent me? Do I need to change how the view is presented in my html so that it will show the correct values instead of the NaN?

    Your help would be highly appreciated.

    Thank you.

    Regards,
    jhachero.

  10. #20
    Sencha User
    Join Date
    Aug 2007
    Posts
    43
    Vote Rating
    0
    JimStoner is on a distinguished road

      0  

    Default


    Hi,

    I am trying to accomplish this too, and I took a look at the new extnd-all-debug.js file that Jack posted, and it looks like it is significantly different in how it is handling quick searches, at least compared to Beta 3. In beta 3 it is using the Ext.Messagebox to show the quick search field, but this new code is using a new method to create a custom Ext.Window from scratch instead. I don't know what other changes might be included in the file, and I don't have time to look through it more detail today.

    In case it helps, here's a quick change that works (sort of) in Beta 3:

    The problem is in Ext.nd.UIView.gridHandleKeyDown(). At the end of that method the default case statement says:

    Ext.MessageBox.prompt('Starts with...', 'Search text ', this.quickSearch, this, false, charCode);

    That last parameter is the value that should be put into the text box of the prompt, but charCode is being sent as 0 so it displays nothing. I changed it to:

    Ext.MessageBox.prompt('Starts with...', 'Search text ', this.quickSearch, this, false, String.fromCharCode(keyCode));

    That sends the character corresponding to the ascii keyCode as the value to show up in the prompt.

    This solution works in FireFox. In IE 8, however, it does insert that character into the prompt, but some times the cursor is placed before the character, and other times the cursor is after the character. This is really annoying, and I haven't found a solution to force the cursor to always be placed after the character in IE. If anyone has any suggestions, please let me know!

    If you do not want to edit your original extnd-all.js file, you can instead include the following code AFTER loading extnd. I've put this into a bug-fix javascript library, and then load that bug-fix library in my HTML header after loading extnd. This is based on my version of the original function from Beta 3r1. You might want to check the gridHandleKeyDown method in your own version, and use it as the basis instead.

    Code:
    Ext.nd.UIView.override( {
        gridHandleKeyDown: function(e){
            if (e.getTarget().name == 'xnd-vw-search') {
                return;
            }
            var sm, ds, node, row, rowIndex, unid, target;
            var keyCode = e.browserEvent.keyCode;
            var charCode = e.charCode;
            
            target = e.getTarget();
            sm = this.getSelectionModel();
            row = sm.selections.itemAt(sm.selections.length-1);
            ds = this.getStore();
            rowIndex = (row && row.unid && ds && ds.data) ? ds.data.findIndex('unid', row.unid) : -1;
            
            // for now, we won't worry about the altKey
            if (e.altKey) {
                return;
            }
            
            // if Ctrl+E
            if (e.ctrlKey && keyCode == 69) {
                this.openDocument(this, rowIndex, e, true);
                return;
            }
            
            // for now, we won't worry about all other ctrlKey clicks
            if (e.ctrlKey) {
                return;
            }
            
            // we don't worry about the shift key, unless another key is typed
            if (e.shiftKey && keyCode == 16) {
                return;
            }
            
            switch (keyCode) {
                case e.RETURN:
                    this.openDocument(this, rowIndex, e);
                    break;
                case e.DELETE:
                    if (row) {
                        this.deleteDocument(this, rowIndex, e);
                    }
                    break;
                    
                case e.BACKSPACE:
                case e.DOWN:
                case e.ESC:
                case e.F5:
                case e.HOME:
                case e.LEFT:
                case e.PAGEDOWN:
                case e.PAGEUP:
                case e.RIGHT:
                case e.UP:
                case e.TAB:
                    break;
                    
                // in the Notes client toggling the space bar 
                // will toggle whether the doc is selected or not in a view
                case e.SPACE:
                    if (sm.isSelected(rowIndex)) {
                        sm.deselectRow(rowIndex);
                    }
                    else {
                        sm.selectRow(rowIndex);
                    }
                    break;
                default:
    /* START CHANGE
    	The message box for the quick search is not displaying the character
    	you pressed to open the quick search.  The function is being passed
    	the charCode, which is 0.  Change that so it passes the character
    	corresponding to the keyCode instead.  
    */
                    Ext.MessageBox.prompt('Starts with...', 'Search text ', this.quickSearch, this, false, String.fromCharCode(keyCode));
    //                Ext.MessageBox.prompt('Starts with...', 'Search text ', this.quickSearch, this, false, charCode);
    /* END CHANGE */
            }
        }
    })

Similar Threads

  1. Replies: 6
    Last Post: 23 Nov 2010, 12:57 PM
  2. problem grid search input css
    By pasblin in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 30 Mar 2009, 1:02 AM
  3. Search Attention Ticket & Edit Input Screen
    By egoicovic in forum Community Discussion
    Replies: 2
    Last Post: 30 Mar 2007, 2:43 PM

Thread Participants: 7

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar