老问题,GRID 空白!
有一个按钮的.CLICK 事件代码:(其实就是向表添加一条空记录)
thisform.Grid1.RecordSource =''
SELECT 1
USE
SELECT 4
USE I:\JINCEN
APPEND BLANK
thisform.Grid1.ColumnCount = 4
*thisform.Grid1.RecordMark= .F.
*thisform.Grid1.ScrollBars= 0
*thisform.Grid1.DeleteMark= .F.
*thisform.refresh
thisform.grid1.BackColor=RGB(217,158,0)
thisform.grid1.FOREColor=RGB(0,0,250)
thisform.grid1.RecordSourceType= 0
thisform.grid1.recordsource="i:\jincen"
thisform.grid1.Column1.ControlSource="进程"
thisform.grid1.Column2.ControlSource="信任"
thisform.grid1.Column3.ControlSource="路径"
thisform.grid1.Column4.ControlSource="基本"
thisform.grid1.Column1.Header1.Caption="进程"
thisform.grid1.Column2.Header1.Caption="信任"
thisform.grid1.Column3.Header1.Caption="路径"
thisform.grid1.Column4.Header1.Caption="基本"
thisform.grid1.Column1.Width=120
thisform.grid1.Column2.Width=30
thisform.grid1.Column3.Width=400
thisform.grid1.Column4.Width=30
THISFORM.Refresh
THISFORM.Grid1.Refresh
结果GRID 显示是空白,查了论坛帖子,还是没有解决,给位看看问题出在那里,谢谢!
thisform.Grid1.RecordSource =''
SELECT 1
USE
SELECT 4
USE I:\JINCEN
APPEND BLANK
thisform.Grid1.ColumnCount = 4
*thisform.Grid1.RecordMark= .F.
*thisform.Grid1.ScrollBars= 0
*thisform.Grid1.DeleteMark= .F.
*thisform.refresh
thisform.grid1.BackColor=RGB(217,158,0)
thisform.grid1.FOREColor=RGB(0,0,250)
thisform.grid1.RecordSourceType= 0
thisform.grid1.recordsource="i:\jincen"
thisform.grid1.Column1.ControlSource="进程"
thisform.grid1.Column2.ControlSource="信任"
thisform.grid1.Column3.ControlSource="路径"
thisform.grid1.Column4.ControlSource="基本"
thisform.grid1.Column1.Header1.Caption="进程"
thisform.grid1.Column2.Header1.Caption="信任"
thisform.grid1.Column3.Header1.Caption="路径"
thisform.grid1.Column4.Header1.Caption="基本"
thisform.grid1.Column1.Width=120
thisform.grid1.Column2.Width=30
thisform.grid1.Column3.Width=400
thisform.grid1.Column4.Width=30
THISFORM.Refresh
THISFORM.Grid1.Refresh
结果GRID 显示是空白,查了论坛帖子,还是没有解决,给位看看问题出在那里,谢谢!
...全文
相关推荐
完美解决UI-Grid表格元素中多个空格显示为一个空格的问题
总结来说,解决 UI-Grid 表格元素中多个空格显示为一个空格的问题,主要依赖于 CSS 的 `white-space` 属性。通过设置 `white-space: pre !
ExtJs2.2的grid滚动条以及点Grid发生偏移问题
解决如下两个Bug:Bug1:出现纵向滚动条后,将横向滚动条拖到最后,然后会发现每选择一条记录整个grid就会往左移,右边空出一部份空白。Bug2:出现横向滚动条后,向右稍拉滚动条,然后点击任意一行,
ag-grid-vue表格的一些问题总结(一)
"这篇文章除了介绍ag-grid-vue表格的问题解决方法,还涉及到表格内容的样式调整、单元格的条件格式化以及添加自定义操作栏的实现。"ag-grid-vue是一款强大的数据网格组件,它允许开发
Extjs grid 中文排序问题修正
希望这个教程能帮助你解决EXTJS Grid中文排序的问题。
有关display:inline-block在FF出现空白的解决方案
**使用Flexbox或Grid布局**:现代浏览器支持的Flexbox和Grid布局提供了更灵活、更健壮的布局方式,可以轻松地实现元素的并排显示,而无需担心空白问题: ```css .parent {


