Dynamic Columns Issue

4 posts, 0 answers
  1. Michael
    Michael avatar
    2 posts
    Member since:
    Feb 2016

    Posted 14 Feb 2016 Link to this post

    I have a problem with the grid in that when columns are being added dynamically if the column that is being added is beyond the right side of the view-able right edge of the grid the column does not appear added when scrolled to the right.It takes a refresh to do this. This behavior should not exist ideally. When the column is added I want it view-able. As I recall, you have to add another column so the column that was not view-able is pushed to the left now in the view-able area. How do we solve this problem?
  2. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    1266 posts

    Posted 17 Feb 2016 Link to this post

    Hello Michael,

    Thank you for considering Kendo UI.

    To achieve the desired behavior, you can add the new column to the columns array with its width specified, so that the total width of the Kendo UI Grid can be calculated correctly. Then use the setOptions method and pass it the modified columns array.

    Please, check out this dojo for a sample implementation of the steps, described above.

    I hope this helps.

    Regards,
    Dimiter Topalov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Michael
    Michael avatar
    2 posts
    Member since:
    Feb 2016

    Posted 18 Mar 2016 in reply to Dimiter Topalov Link to this post

    Your code is not working for me. I have attached the file for the code. Tell me what to do with what i have to make this work. Also, I am using an older Kendo version possibly. But whatever, I just need it to work with my existing Kendo version. The version is 2012.3.1114.340 for Kendo.Mvc. I am going to use the latest version and upgrade but this needs to be corrected with the code I have attached. 

  4. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    1266 posts

    Posted 23 Mar 2016 Link to this post

    Hello Michael,

    Before we can proceed with your technical questions, we will need more information about your current Kendo UI subscription. I have therefore involved a product specialist, who can help answer any licensing questions you might have.

    If your company has already purchased a license from another account, please contact the license holder and ask them to add you as a licensed developer. If you need to purchase or renew your subscription, have a look at the most frequently asked questions (http://www.telerik.com/purchase/faq/devcraft) or post your questions here. Our product specialists will gladly assist you find a subscription that best fits your needs.

    Once your account is associated with an active subscription, you can post your questions in a new support ticket or repost them here and we will reply within the guaranteed 24/48h response time, depending on the license. On top of that, you will have access to the latest features and fixes within our products and you will have the ability to affect their roadmaps.

    If you choose not to continue with a paid subscription, we will immensely appreciate your feedback on the reasoning behind your decision. This information would help us determine the show-stoppers that developers like you face and better address these in the future.

    Regards,
    Dimiter Topalov
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top