This is a migrated thread and some comments may be shown as answers.

Dynamic Columns Issue

3 Answers 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 15 Feb 2016, 02:12 AM
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?

3 Answers, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 17 Feb 2016, 08:57 AM

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!
 
0
Michael
Top achievements
Rank 1
answered on 19 Mar 2016, 02:20 AM

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. 

0
Dimiter Topalov
Telerik team
answered on 23 Mar 2016, 08:27 AM
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!
Tags
Grid
Asked by
Michael
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Michael
Top achievements
Rank 1
Share this question
or