UpArrow / DownArrow Keys not working when height of radtreegrid is small

7 posts, 0 answers
  1. Chocks
    Chocks avatar
    12 posts
    Member since:
    May 2012

    Posted 09 May 2012 Link to this post

    Hi,

    I am using a radtreelistview grid control. When i am having more records and the height of grid is set as it will display one record with scrollbar, In this scenario UpArrow / DownArrow Keys not working for selecting records above and below rows.

    If the height of grid is more and while displaying more than one record, uparrow and downarrow keys are working fine (able to select the record up and down)

    Regards,
    V.Chocks.
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 09 May 2012 Link to this post

    Hi,

     I have tested the described scenario using the 2012.1.326 (Q1 SP 2012) binaries. Even when there is only one row visible I am able to move across the rows using the UpArrow / DownArrow keys. 

    Would you please confirm the exact version of the RadControls you use? How is your TreeListView defined?

    Regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Chocks
    Chocks avatar
    12 posts
    Member since:
    May 2012

    Posted 09 May 2012 Link to this post

    Hi,

    Thanks for your support

    Telerik.Windows.Controls.GridView, Version 2011.2.712.1040

    Working Fine when
    1. Moving with Arrowkeys works fine when there is no wordwrap is done in any column of the visible row ,
    ( when only one row is visibile).

    2. Arrowkeys works fine when the grid is displaying more than one row, even though the content of any column is wrapped.

    Not working when

    1. UpArrowKeys are not working fine If any one column has the content wrapped and if a single row is visible in grid.

    2.  if I resize the column, then the respective row is automatically selected. (DownArrow works fine in this case, UpArrowkey is only not working)



    For your info, i have a set of textbox and combobox below the grid and it is a separate xaml. When I clikc the save button in that page, the below code is written to set the foucs, which works when there is no wordwrap. is done.


    if
    (CurrentGrid == "Working")
    {
    this.workinglist.CurrentCellInfo = new GridViewCellInfo(this.workinglist.SelectedItem, this.workinglist.Columns[2]);
    this.workinglist.Focus();
    }
    else if (CurrentGrid == "Master")
    {
    this.masterlist.CurrentCellInfo = new GridViewCellInfo(this.masterlist.SelectedItem, this.masterlist.Columns[1]);
    this.masterlist.Focus();
    }

    Thanks And Regards,
    V.Chocks.
  5. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 11 May 2012 Link to this post

    Hello,

     I have tested with the latest binaries but in my project the navigation keys work fine. Please check the attached project and let me know how it woks.
     

    All the best,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  6. Chocks
    Chocks avatar
    12 posts
    Member since:
    May 2012

    Posted 14 May 2012 Link to this post

    Hi,

    Using your project
    I resized the Name column, so the content in that column is wrapped.
    Minimized the height of grid as it will display only one row.
    Select the last row Name column and then press up arrow key (here the last row is d:\)..
    The up arrow key is not selecting the row above the last row, but the rectagle marks above row when up arrow is pressed.
    Screenshots attached for your reference.

    If the column is not wrapped, the keys are working fine. I hope the issue is regarding the height of the row which is not
    able to display within the available space.

    Thanks And Regards,
    V.Chocks.
  7. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 15 May 2012 Link to this post

    Hi,

     Thank you for the instructions. I followed them, but I was not able to reproduce the wrong behaviour. Please check the video I took in one of my tests. 

    Regards,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  8. Chocks
    Chocks avatar
    12 posts
    Member since:
    May 2012

    Posted 16 May 2012 Link to this post

    Hi,

    The issue is, selectionchange event or any event is not getting fired while pressing the up arrow key when the row height is more and content of that row is wrapped. if any event is fired we can set the focus. I am using IE 8.0.76, I am not sure whether a earlier version or other browser could resolve this problem.



    Regards,
    V.Chocks.
Back to Top
DevCraft banner