[CLOSED] Help! Need DataView w/KeyNav & ScrollIntoView

  1. #1

    [CLOSED] Help! Need DataView w/KeyNav & ScrollIntoView

    I need a DataView w/KeyNav and ScrollIntoView. (I am using it like a Grid to display lots of results, w/scroll & select)

    I found some old code written for ExtJs 2.02 (links below) but this is pretty broke under ExtJs 3x.

    Can you provide an example or provide a 3.x fix to this code.




    http://www.sencha.com/forum/showthre...ted-DataView)&

    http://www.andrei.neculau.home.ro/ex...aView_test.htm
    Last edited by Daniil; Aug 31, 2012 at 1:57 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Unfortunately, we have no ready solution for your requirement.

    This should help you to start.
    http://forums.ext.net/showthread.php?16468
    Last edited by Daniil; Aug 29, 2012 at 5:48 PM.
  3. #3
    If I submit this broken code as an example project, could you help me then?

    The example you cite doesn't help because it doenn't implement ScrollIntoView, which is where I'm stuck. I can trap keys and select new nodes, which is all that example shows.


    Quote Originally Posted by Daniil View Post
    Hi,

    Unfortunately, we have no ready solution for your requirement.

    This should help you to start.
    http://forums.ext.net/showthread.php?16468
  4. #4
    Quote Originally Posted by randy85253 View Post
    If I submit this broken code as an example project, could you help me then?
    Yes, absolutely.

    Please post as much of a sample as you can and we'll take a look. It might take a bit of work/time, but we'll respond with any questions as we come across them. Shouldn't take more than 24 hours to come up with a working sample.
    Geoffrey McGill
    Founder & CEO
  5. #5
    Will do. Thanks, I'm desperate.

    Quote Originally Posted by geoffrey.mcgill View Post
    Yes, absolutely.

    Please post as much of a sample as you can and we'll take a look. It might take a bit of work/time, but we'll respond with any questions as we come across them. Shouldn't take more than 24 hours to come up with a working sample.
  6. #6
    We are awaiting a sample. Please clarify are there any troubles in preparing a sample we could help with?
  7. #7
    Thanks, but I managed to get it working.

    For those interested, I was using the 'ux.andrie.dataview' code. Once I updated all the overridden functions to use the new 3X code, it stared working and I was able to drop the hacks to getXY().

    Putting together an example I found the ScrollIntoView was working (which is why I didn't submit it). Turns out the reason it was failing in my app was due to how we defined the DataView template; specifically, the main div, ie SelectorItem, needs to have the height/width settings directly on it.


    Thanks for the followup Danill. Go ahead and close this.



    Quote Originally Posted by Daniil View Post
    We are awaiting a sample. Please clarify are there any troubles in preparing a sample we could help with?
  8. #8
    It is nice that you get it working! Thanks for the update.

Similar Threads

  1. Ext.NET DataView with KeyNav Support (Improved)
    By NickBin in forum Examples and Extras
    Replies: 3
    Last Post: Jan 20, 2012, 5:25 PM
  2. Ext.NET DataView with KeyNav Support
    By NickBin in forum Examples and Extras
    Replies: 6
    Last Post: Dec 18, 2011, 3:47 PM
  3. [CLOSED] KeyNav Tab Event Firing Inconsistently
    By dmoore in forum 1.x Premium Help
    Replies: 2
    Last Post: Feb 10, 2011, 1:09 PM
  4. Replies: 0
    Last Post: Jan 13, 2011, 10:55 AM
  5. scrollIntoView
    By [WP]joju in forum 1.x Help
    Replies: 4
    Last Post: Oct 19, 2009, 5:02 AM

Posting Permissions