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

misalign problem with columncontextmenu

5 Answers 27 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jerry
Top achievements
Rank 1
Jerry asked on 01 May 2012, 12:57 AM
Hi, i have a strange problem with the grids column context menus where they seem to be misaligning and not displaying correctly.

I've read a few posts where some people seemed to have a similar issue as mine, with the fix being, the user having to set the column widths explicitly.

For my project, ive tried to set the columns to be in percentage (e.g. 10% for each column) and absolute values (e.g. 22px for each column).

The problem im facing is, once i use the context menu to hide or show a column, the grid immediately shrinks to a very small size.

After seeing this, i thought the problem was that the columns were resizing themselves to be a smaller value than what it should have been, but with some extra testing, ive found that the column widths in the beginning is actually the same.

Only after changing the size of the column (which is located at its usual point i.e. not next to the dividers), does the sliders align up with the dividers.

I have included some images which will describe better the problem i am getting.


Any help would be greatly appreciated.


Thanks

5 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 01 May 2012, 01:26 PM
Hi Jerry,

It seems there is some compatibility issue between column hiding and columns with percentage widths. I will forward your post to our developers for further inspection. Your Telerik points have been updated.

In the meantime, please do not use columns with percentage widths while column hiding is enabled. The issue does not occur when pixel widths or no widths are used.

Regards,
Dimo
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
0
Dimo
Telerik team
answered on 02 May 2012, 09:56 AM
Hi again,

We have identified the cause of the problem and it will be fixed for the next internal build.

Regards,
Dimo
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
0
Jerry
Top achievements
Rank 1
answered on 02 May 2012, 09:52 PM
Hi Dimo,

Thanks for looking into this problem for me.
I look forward to using the new telerik controls when it comes out!

Just wondering, when is the ETA for the next internal build?
0
Rob
Top achievements
Rank 1
answered on 31 Oct 2012, 02:19 AM
Can we please get an ETA on this fix?
0
Dimo
Telerik team
answered on 31 Oct 2012, 11:38 AM
Hello Rob,

The problems discussed in this thread were fixed six months ago. Still, when configuring column widths, you should be aware that at least one column should have no width (if the sum of all set widths is less than the Grid width), or, if you are setting widths for all columns, their sum should exceed the Grid width.

Greetings,
Dimo
the Telerik team
Check out the successor of Telerik MVC Extensions - Kendo UI for ASP.NET MVC - and deem it for new ASP.NET MVC development.
Tags
Grid
Asked by
Jerry
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Jerry
Top achievements
Rank 1
Rob
Top achievements
Rank 1
Share this question
or