0
所以我有古怪的两张图片是正在发生 ExtJS的电网演技很奇怪
正如你可以在上面的图片中看到,在右侧的滚动条被切断一点点通过屏幕,甚至当你向右滚动时,你都不会回到酒吧,它仍然被切断。
这里是另一种情况:
在这里,你可以看到,当我在这个网格向下滚动,滚动条那种适合网格的底部,甚至不全力以赴下降。您需要手动点击网格并点击向下箭头才能完成剩下的工作。
什么会导致这些奇怪的问题?
编辑:
这里是生成网格代码(分机通过VB控件创建):
Dim VehicleOptionsGrid As New Akcelerant.Framework.WebControls.Grids.Grid
With VehicleOptionsGrid
.ID = "VehicleOptionsGrid"
.Title = "Vehicle Options"
.Toolbar.UseDefaultButtons = False
.Mode = Grids.Grid.GridMode.Control
.Panel.Border = False
.Panel.Style = "border-width:1px;margin-bottom:5px"
.Ref = "../../../../../VehicleOptionsGrid"
.Editable = True
With .Columns.Add("IsSelected", "Selection", Akcelerant.Framework.WebControls.Grids.Grid.ColumnDataType.Boolean)
.Renderer = "renderVehicleCheckbox"
End With
.Columns.Add("CollateralId", "").Hidden = True
.Columns.Add("OptionId", "OptionId").Hidden =True
.Columns.Add("OptionName", "Name").Width = 200
.GridHeight = 400
.DataBind()
ViewResponse.AddScript(.ToString(False))
ViewResponse.AddScript("VehicleOptionsGrid.grid.addListener('cellclick', changeOptionStatus);")
End With
这里我们网格添加到页面:
With .AddPanel
With .AddPanel
.Title = ""
.Html = "Standard Options are preselected. Please select additional options as needed."
.Style = "padding-bottom:5px"
End With
.Ref = "../../../../VehicleOptionsPanel"
.Title = "Vehicle Options"
.Frame = True
.Style = "padding-bottom:5px"
.Layout = Pages.Panel.LayoutType.Column
.Height = 400
.Collapsed = True
.AddExtObject("VehicleOptionsGrid.grid")
End With
请张贴您的网格配置。看起来网格大小高于拥有网格的实际组件(可能是可折叠的面板)。 – 2010-10-18 20:03:57
添加了代码,显示网格的创建和添加位置... – Scott 2010-10-18 20:19:48
你是对的,这是网格高度...发布作为答案和生病给你的复选标记;)谢谢! – Scott 2010-10-18 20:26:38