Kendo网格调整大小可缩小IE中的所有列 [英] Kendo grid resize shrinks all the columns in IE

查看:68
本文介绍了Kendo网格调整大小可缩小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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆