This question is locked. New answers and comments are not allowed.
Hi,
I have 2 issues here.
1. When i get a second level hierarchy to the grid using the detail view template, IE behaves weird.
2. I have the similar column for all the levels of hierarchy. I want the grid lines joining the individual levels be aligned properly.
Pelase see the attachments for more information
thanks
I have 2 issues here.
1. When i get a second level hierarchy to the grid using the detail view template, IE behaves weird.
2. I have the similar column for all the levels of hierarchy. I want the grid lines joining the individual levels be aligned properly.
Pelase see the attachments for more information
thanks
11 Answers, 1 is accepted
0
Ravindra
Top achievements
Rank 1
answered on 22 Nov 2011, 10:35 AM
Hi,
Can any one throw some light on this?
thanks
Can any one throw some light on this?
thanks
0
Ravindra
Top achievements
Rank 1
answered on 30 Nov 2011, 06:21 AM
Hi Guys,
Is there any one who can throw some light on this? Is it possible to get this working in IE?
Or do we have to look for some alternative solution?
Any thoughts will be helpful
thanks again
Is there any one who can throw some light on this? Is it possible to get this working in IE?
Or do we have to look for some alternative solution?
Any thoughts will be helpful
thanks again
0
Ravindra
Top achievements
Rank 1
answered on 05 Dec 2011, 11:15 AM
Hi Telerik support team,
Can i understand this is not possible to get the multilevel grid working in IE 8/9?
Please confirm
thanks
Can i understand this is not possible to get the multilevel grid working in IE 8/9?
Please confirm
thanks
0
Hi Ravindra,
Atanas Korchev
the Telerik team
Multi-level grid hierarchy works as expected in IE 8/9. Please check our online demo which demonstrates this: http://demos.telerik.com/aspnet-mvc/grid/hierarchyajax
Regards,Atanas Korchev
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
Ravindra
Top achievements
Rank 1
answered on 05 Dec 2011, 12:12 PM
Hi Atanas,
thank your for the reply!
But please have a look at the document that i have added as attachment. If i have headers at individual levels, it works fine as per the demo. I don't want the headers to be there and it works file in Firefox and not in IE.
Please let me know if there are any hacks to get this working
thanks
thank your for the reply!
But please have a look at the document that i have added as attachment. If i have headers at individual levels, it works fine as per the demo. I don't want the headers to be there and it works file in Firefox and not in IE.
Please let me know if there are any hacks to get this working
thanks
0
Hi Ravindra,
Atanas Korchev
the Telerik team
We are not sure what is causing the problem because you have not provided any source code. Sending a sample project which we can run would help a lot.
Regards,Atanas Korchev
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
Ravindra
Top achievements
Rank 1
answered on 05 Dec 2011, 03:04 PM
Hi Atanas,
I have created a replica in the attached example. Please run the sample both in IE and Firefox. Firefox works well but IE will not show the level 2 items properly. entire level 2 grid will come and sit in the first cell of level 1. (grid has 3 levels level 0, level 1, level 2)
Please note that this is important for us to get this working. Please let me know if any solution/workaround is there?
thanks again for following it up,
Regards,
Ravindra
I have created a replica in the attached example. Please run the sample both in IE and Firefox. Firefox works well but IE will not show the level 2 items properly. entire level 2 grid will come and sit in the first cell of level 1. (grid has 3 levels level 0, level 1, level 2)
Please note that this is important for us to get this working. Please let me know if any solution/workaround is there?
thanks again for following it up,
Regards,
Ravindra
0
Ravindra
Top achievements
Rank 1
answered on 06 Dec 2011, 05:54 AM
Dear Support,
Kindly update me any progress on this?
thanks,
Ravindra
Kindly update me any progress on this?
thanks,
Ravindra
0
Ravindra
Top achievements
Rank 1
answered on 06 Dec 2011, 07:18 AM
Dear Support,
I figured out what the problem is.
In Firefox, the detail grid is getting rendered with a colspan attribute set to '0'
where as in IE it has no mention about the colspan
I tried editing in Firebug removing the colspan attribute. I observe the same issue as that of IE.
<td colspan="0" class="t-detail-cell">....
Can you pls help me setting this colspan attribute in IE?
Thanks,
Ravindra
I figured out what the problem is.
In Firefox, the detail grid is getting rendered with a colspan attribute set to '0'
where as in IE it has no mention about the colspan
I tried editing in Firebug removing the colspan attribute. I observe the same issue as that of IE.
<td colspan="0" class="t-detail-cell">....
Can you pls help me setting this colspan attribute in IE?
Thanks,
Ravindra
0
Ravindra
Top achievements
Rank 1
answered on 06 Dec 2011, 09:48 AM
Hi Telerik Support ,
I figured-out the solution as well. Just wanted to get reviewed if this is fine?
i have made a small change to telerik.grid.min.js file. If you look at the below code, the col span is setting based on the visible headers. I think IE is not giving back anything for it as i'm hiding the headers alltogether. I have removed the :visible part of it and it is started working on all browsers.
do you think it is a bug? or am i getting it wrongly?
Please confirm i'm at the solution to this issue?
thanks,
Ravindra
I figured-out the solution as well. Just wanted to get reviewed if this is fine?
i have made a small change to telerik.grid.min.js file. If you look at the below code, the col span is setting based on the visible headers. I think IE is not giving back anything for it as i'm hiding the headers alltogether. I have removed the :visible part of it and it is started working on all browsers.
'<td class="t-detail-cell" colspan="').cat(this.$header.find("th:not(.t-group-cell,.t-hierarchy-cell):visible").length
do you think it is a bug? or am i getting it wrongly?
Please confirm i'm at the solution to this issue?
thanks,
Ravindra
0
Hello Ravindra,
The :visible condition is used in order to ensure correct behavior of the Grid when it contains hidden columns. Your modification may lead to problems and misalignment in such cases.
On the other hand, client-side operations with hidden columns are now supported and the source of the current MVC Grid version is different. This means that if you upgrade to Q3 2011, your scenario will start working and no workarounds will be required.
All the best,
Dimo
the Telerik team
The :visible condition is used in order to ensure correct behavior of the Grid when it contains hidden columns. Your modification may lead to problems and misalignment in such cases.
On the other hand, client-side operations with hidden columns are now supported and the source of the current MVC Grid version is different. This means that if you upgrade to Q3 2011, your scenario will start working and no workarounds will be required.
All the best,
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
