Name
Type
Description
Default
title |
string |
The datagrid panel title text. |
null |
iconCls |
string |
A CSS class that will provide a background image to be used as the header icon. |
null |
border |
boolean |
True to show datagrid panel border. |
true |
width |
number |
The width of datagrid width. |
auto |
height |
number |
The height of datagrid height. |
auto |
columns |
array |
The datagrid columns config object, see column properties for more details. |
null |
frozenColumns |
array |
Same as the columns property, but the these columns will be frozen on left. |
null |
striped |
boolean |
True to stripe the rows. |
false |
method |
string |
The method type to request remote data. |
post |
nowrap |
boolean |
True to display data in one line. |
true |
idField |
string |
Indicate which field is an identity field. |
null |
url |
string |
A URL to request data from remote site. |
null |
loadMsg |
string |
When loading data from remote site, show a prompt message. |
Processing, please wait … |
pagination |
boolean |
True to show a pagination toolbar on datagrid bottom. |
false |
rownumbers |
boolean |
True to show a row number column. |
false |
singleSelect |
boolean |
True to allow selecting only one row. |
false |
fit |
boolean |
True to set size to fit it's parent container. |
false |
pageNumber |
number |
When set pagination property, initialize the page number. |
1 |
pageSize |
number |
When set pagination property, initialize the page size. |
10 |
pageList |
array |
When set pagination property, initialize the page size selecting list. |
[10,20,30,40,50] |
queryParams |
object |
When request remote data, sending additional parameters also. |
{} |
sortName |
string |
Defines which column can be sorted. |
null |
sortOrder |
string |
Defines the column sort order, can only be 'asc' or 'desc'. |
asc |
相关推荐
JQuery EasyUI DataGrid服务端分页加载数据后,DataGrid行号不能延续,总是重新由1开始。因为服务端分页取回的是单页数据,通过LoadData方法加载数据后,pageNumber属性被初始化为1,因此行号总是重新由1开始。现在...
JQuery EasyUI DataGrid_中文文档,各种属性的详细描述
如:实体类中的属性为userName,前台filed="userName"而数据库的字段为user_name,这个时候如果把userName设置为排序列,然后去进行点击,就会抛出异常,因为dataGrid在排序的时候会以filed=”userName”中的字段名为...
代码如下: $(function(){ $(‘#tt’).datagrid({ title:’报表统计’, width:1020, height:400, url:”, fitColumns:true, loadMsg:’正在获取,请稍侯…’, singleSelect:true, nowrap:false, columns:[[ {field:’...
一篇关于JQueryEasyUI学习之datagrid 添加、修改、删除 学习笔记教程有需要了解的朋友可参考本的笔记,批量删除,双击表单修改、选中行修改,增加行修改,再有就是扩展editor的方法,无需废话,直接上代码,代码中的...
datagrid:将“combogrid”编辑器集成到datagrid中; datagrid:添加“ctrlSelect”属性,在启用多行选择的时候允许使用Ctrl键+鼠标点击的方式进行多选操作; slider:添加“converter”属性,该属性允许用户决定...
jQuery EasyUI 1 4版本更新内容: Bug(修复) menu:修复在删除一个菜单项的时候该菜单无法正确自适应高度的问题; datagrid:修复在datagrid宽度太小的时候“fitColumns”方法无法正常工作的问题 Improvement...
1.2 在上移和下移以后,我们将移动以后的两行的id和datagrid-row-index属性也必须互换,这样能保证datagrid-row-index=0的行肯定是页面显示的表格的第一行,=1的是第二行等等。将来保存的时候,就是通过取这个属性值...
本文档中包含所有和EasyUI开发相关的内容,以及翻译制作的中文API文档、开发库、皮肤库、扩展库等。包含完整开发工具包,格式采用pdf+exe+chm jQuery EasyUI 1.5.2 版本更新内容 Bug(修复) form:修复在调用...
主要介绍了jQuery插件EasyUI设置datagrid的checkbox为禁用状态的方法,涉及jQuery插件EasyUI相关属性设置技巧,需要的朋友可以参考下
1、首先大概说下这几个功能里用到的主要方法,行内添加数据主要是添加列的editor属性, 行内编辑主要使用beginEdit(), endEdit(),同时一个关键就是拿到当前的操作行索引editIndex. 2、撤销用到了rejectChanges(). 3、...
EasyUI又更新了,这次更新内容还是不少的,具体内容请参考下面的更新说明,官方的更新说明中还少了1条,我给补上了。 jQuery EasyUI 1.3.5版本更新内容: Bug(修复) searchbox:修复“searcher”函数提供的...
jQuery EasyUI是一组基于jQuery的UI插件集合,而jQuery EasyUI的目标就是帮助web开发者更轻松的打造出功能丰富并且美观的UI界面。开发者不需要编写复杂的javascript,也不需要对css样式有深入的了解,开发者需要了解...
在DataGrid上的复选框 本教程显示了你如何放置checkbox列。使用checkbox,用户可以选定/取消数据行。 添加checkbox列,我们简单的添加列...在这个教程,我们将要创建DataGrid并且在页面工具栏中添加一些自定义按钮。
什么叫“完整的基础DOM结构”,这里“基础”的意思是指这个结构不依赖具体数据,不依赖Datagrid的view属性,只要存在Datagrid实例就会存在这样的基础DOM结构;而“完整”的意思是指在冻结列,冻结行,标题,footer,...
jQuery EasyUI 1.5.1版本更新内容:Bug(修复) datagrid:修复在调用“updateRow”方法之后选中和复选行标志丢失的问题; tabs:修复在调用“update”方法的时候导致标签栏工具错位的问题; window:修复在窗体高度...
本 chm 文档是根据博客园“风流涕淌”的《jQuery EasyUI 1.2.4 API 中文文档(完整)目录》整理而成 http://www.cnblogs.com/Philoo/archive/2011/11/17/jeasyui_api_index.html Base 基础 Documentation 文档 ...
//安装将添加到您的项目依赖项中- > npm i --save @activewidgets/jquery 用法将库导入到您的应用中- import "@activewidgets/jquery" ; 它将为jQuery添加mount功能。 现在,假设您已向页面添加了占位符ax-datagrid...
jQuery EasyUI 1.4.1版本更新内容: Bug(修复) combogrid:修复combogrid组件和其他combo组件高度不一致的问题; datagrid:修复在datagrid行元素调用“updateRow”方法的时候丢失某些类样式的问题; ...
combobox:添加“limitToList”属性来限制只能输入在列表项中的内容; combogrid:允许用户快速克隆组件; form:添加“dirty”属性,允许用户只发送变更的字段内容; form:添加“resetDirty”方法; datagrid...