JQuery EasyUI DataGrid 中文文档
?
?NameTypeDescriptionDefaulttitlestringThe datagrid panel title text. DataGrid的面板标题文字。nulliconClsstringA CSS class that will provide a background image to be used as the header icon. 一个CSS类,将提供一个背景图片作为标题图标。nullborderbooleanTrue to show datagrid panel border. 真到DataGrid中显示面板的边界。truewidthnumberThe width of datagrid width. 宽度的DataGrid的宽度。autoheightnumberThe height of datagrid height. 该数据网格的高度的高度。autocolumnsarrayThe datagrid columns config object, see column properties for more details. DataGrid的列的配置对象,看到更多的细节列属性。nullfrozenColumnsarraySame as the columns property, but the these columns will be frozen on left. Columns属性相同,但将这些列左冻结。nullstripedbooleanTrue to stripe the rows. True 条纹行。falsemethodstringThe method type to request remote data. 该方法要求远程数据类型。postnowrapbooleanTrue to display data in one line. 真正显示在同一行数据。trueidFieldstringIndicate which field is an identity field. 说明哪些字段是一个标识字段。nullurlstringA URL to request data from remote site. 一个URL请求从远程站点的数据。nullloadMsgstringWhen loading data from remote site, show a prompt message. 当从远程站点加载数据,显示一个提示信息。Processing, please wait … 处理中,请稍候…paginationbooleanTrue to show a pagination toolbar on datagrid bottom. True展现出对DataGrid的底部分页工具栏。falserownumbersbooleanTrue to show a row number column. True显示行号列。falsesingleSelectbooleanTrue to allow selecting only one row. True只允许选择一行。falsefitbooleanTrue to set size to fit it’s parent container. True设置大小,以适应它的父容器。falsepageNumbernumberWhen set pagination property, initialize the page number. 当设置分页属性,初始化的页码。1pageSizenumberWhen set pagination property, initialize the page size. 当设置分页属性,初始化的页面大小。10pageListarrayWhen set pagination property, initialize the page size selecting list. 当设置分页属性,初始化的页面大小选择清单。[10,20,30,40,50]queryParamsobjectWhen request remote data, sending additional parameters also. 当请求,远程数据发送额外的参数也。{}sortNamestringDefines which column can be sorted. 可排序的列定义。nullsortOrderstringDefines the column sort order, can only be ‘asc’ or ‘desc’. 定义的列的排序顺序,只能是’递增’或’递减’。ascEventsNameParametersDescriptiononLoadSuccessnoneFires when remote data is loaded successfully. 触发时,远程数据加载成功。onLoadErrornoneFires when some error occur to load remote data. 触发发生时的一些错误加载远程数据。onClickRowrowIndex, rowDataFires when user click a row, the parameters contains: 触发时,用户点击一个行,参数包括:?