But the thing is that when I show the initial View the width of the column is far to wide (see picture included).
Is there a way to prevent this?
I think this is done on initial I can't tweak the column because it is not in my column definition from the master Grid itself.
Regards,
Gerard Eikelboom
7 Answers, 1 is accepted
This is a strange problem which has have never been reported so far. Is there a chance to attach a sample project?
Regards,Atanas Korchev
the Telerik team
I could solve this problem by adding an extra class in my CSS
.t-hierarchy-cell { width:15px; }But the next thing happens in FF.
On initial the page is OK (see t-master-row correct.gif)
But when I click on the collapse icon the data in my master row got disorderd (see t-master-row not correct.gif)
In IE8 it looks fine
Any idea what that could be?
Regards,
Gerard
Are you using a custom skin? By default all skins of the MVC grid should handle such cases properly. If you are using a default skin perhaps there is a CSS rule which conflicts with the Telerik CSS.
Regards,Atanas Korchev
the Telerik team
We made some changes to the telerik-common-min.css.
But they should not affect this behaviour.
I replaced the original Telerik common-min.css file and run the application again, with the same result in FF.
So that is very strange to me (probably also to you)
I hope you can help me to look in a right direction.
Regards,
Gerard
I tried to reproduce the problem to no avail. Can you reproduce it in our online demos? In FireFox you can use FireBug to track which CSS rule affects the width of the column.
If FireBug does not help I will ask you once again to send us a runnable subset of your project which shows the column sizing issue. Without a reproducible case we cannot help any further.
Atanas Korchev
the Telerik team
A small thing what I can see compare to the online demos is that
my master row has 21 columns and my detail row has 9. Does that make a difference?
Regards,
Gerard
This should not make a difference since the child and master tables are different HTML table elements.
Regards,Atanas Korchev
the Telerik team