Problem with horizontal scrolling

4 posts, 1 answers
  1. ManniAT
    ManniAT avatar
    877 posts
    Member since:
    Nov 2003

    Posted 23 Jul 2009 Link to this post

    Hi,

    I have a grid with a lot of columns.
    4 Columns show "who and when" and the rest shows quantities.
    So the idea is to freeze the first 4 columns and enable the others to scroll.
    I tried this - but there are a lot of "strange things" going on - it's not usable.
    I guess (not sure) these problems occur because the columns have a different width.
    To see what I mean I prepared a video:
    http://www.pp-p.net/scrollproblem/

    Normally each grid has some 100 rows - I reduced (and modified) the data because it is sensible.

    If I set the width of the scrolling columns to equal values - two columns are missing :)
    The first 4 columns have different size in this case...
    I can compensate this by adding two "dummy columns".

    If I set all columns to the same width - all columns are there - but the last one is "to small" (about half the width I set).
    I can compensate this by setting the last column to a larger width.
    But than the column is gone - again I have to add a dummy column.

    To be more precise:
    As you can see from my video the first column is about 130px the next is 70px and the next two are 60px.
    This gives 320 pixels for the first four (the static one) columns.
    My widest column has to be 135 pixels.
    If I set all columns to the same width - this would mean that I need 540 pixels for the first 4 columns.
    That's more than half of the space I have - 900 pixels.
    In other words - setting all columns to the same width brings (visible at one time):
    4 static + 2.5 scrolling columns.
    With different column sizes I see 4 static plus 8 (!!) scrollable columns.
    To see 8 out of 11 is ok - but 2.5 is more than useless.

    Questions:
    a.) Am I right that for horizontal scrolling all columns must have the same width?
    b.) if a.) is true - is there (a simple) way to fix this (workaround)?
    For b.) 
    - it must be really simple (the customer is used to scroll the whole grid - no frozen columns)
    -----so frozen columns is more or less a "free addition" for the new version of the project
    - it must be a solution that is flexible (number and needed width of the value columns changes).

    Regards

    Manfred


  2. Answer
    Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 24 Jul 2009 Link to this post

    Hello Manfred,

    I admit there are some issues with frozen columns, especially when the number of frozen columns is large and/or when the space occupied by the frozen columns is a large portion of the RadGrid width. I suggest you to use a couple of dummy columns on the right side, or alternatively, set a large width to the last column.

    The mechanism of horizontal scrolling is totally different when normal horizontal scrolling is used, and when frozen columns are used. The latter case is rather sensitive to browser quirks, Javascript calculations, etc. We will try to improve the user experience in the future. Sorry for the inconvenience.

    Kind regards,
    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. StkExp
    StkExp avatar
    2 posts
    Member since:
    Jul 2008

    Posted 05 Jan 2010 Link to this post

    Hi,

    When the issues with the frozen column are going to be fixed?
  5. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 06 Jan 2010 Link to this post

    Hello Martha,

    I am afraid we cannot provide a specific timeframe for this issue, as it requires extensive research.

    Regards,
    Dimo
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top