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

[Solved] DetailView Button in Grid width too wide

7 Answers 94 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.
Gerard Eikelboom
Top achievements
Rank 1
Gerard Eikelboom asked on 11 Jan 2011, 11:54 AM
Hello I am using in my grid also the detailView with Ajax Hierarchy. This itself works fine. When I click on the expand detailview button it shows me the data.
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

Sort by
0
Atanas Korchev
Telerik team
answered on 11 Jan 2011, 03:41 PM
Hello Gerard Eikelboom,

 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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Gerard Eikelboom
Top achievements
Rank 1
answered on 11 Jan 2011, 03:57 PM
Hi Atanas,
I could solve this problem by adding an extra class in my CSS
.t-hierarchy-cell
{
    width:15px;
}
This makes the with ok.

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
0
Atanas Korchev
Telerik team
answered on 11 Jan 2011, 04:07 PM
Hello Gerard Eikelboom,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Gerard Eikelboom
Top achievements
Rank 1
answered on 11 Jan 2011, 04:35 PM
Atanas,
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


0
Atanas Korchev
Telerik team
answered on 11 Jan 2011, 04:43 PM
Hi Gerard Eikelboom,

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.

Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Gerard Eikelboom
Top achievements
Rank 1
answered on 11 Jan 2011, 04:46 PM
Hi Atanas,
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
0
Atanas Korchev
Telerik team
answered on 11 Jan 2011, 04:50 PM
Hello Gerard Eikelboom,

 This should not make a difference since the child and master tables are different HTML table elements. 

Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Gerard Eikelboom
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Gerard Eikelboom
Top achievements
Rank 1
Share this question
or