Kendo网格调整大小可缩小IE中的所有列 [英] Kendo grid resize shrinks all the columns in IE
问题描述
我在应用程序中使用Kendo网格.当我尝试调整IE中的列大小时,表中的所有其他列都消失了.
I'm using Kendo grid in my application. When I try to resize a column in IE, all the other columns in the table disappear.
在Firefox或Chrome中,仅在IE 9和10中不会发生这种情况.
This does not happen in Firefox or Chrome, just IE 9 and 10.
有人要帮忙解决这个问题吗,因为我每天都在努力解决这个问题?
Can someone please help on this as I'm breaking my head over this issue from a day?
推荐答案
问题出在列宽度的混合百分比和px上.
The issue is with mixing percentages and px for your column width.
一种解决方案是确保为网格中的每个列分配特定宽度(120像素).
One solution is to make sure you assign a specific width to EVERY column in your grid (120px).
请勿使用百分比,除非您的父母有特定的宽度(不是100%,而是800px或类似的宽度).
Do NOT use percentages, unless your parent has a specific width (not 100%, but 800px or something like that).
这篇关于Kendo网格调整大小可缩小IE中的所有列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!