快速入门
表格选项
-
ajax
ajaxOptions
buttons
buttonsAlign
buttonsClass
buttonsOrder
buttonsPrefix
buttonsToolbar
cache
cardView
checkboxHeader
classes
clickToSelect
columns
contentType
customSearch
customSort
data
dataField
dataType
detailFilter
detailFormatter
detailView
detailViewAlign
detailViewByClick
detailViewIcon
escape
filterOptions
footerField
footerStyle
headerStyle
height
icons
iconSize
iconsPrefix
idField
ignoreClickToSelectOn
loadingFontSize
loadingTemplate
locale
maintainMetaData
method
minimumCountColumns
multipleSelectRow
pageList
pageNumber
pageSize
pagination
paginationDetailHAlign
paginationHAlign
paginationLoop
paginationNextText
paginationPagesBySide
paginationParts
paginationPreText
paginationSuccessivelySize
paginationUseIntermediate
paginationVAlign
queryParams
queryParamsType
regexSearch
rememberOrder
responseHandler
rowAttributes
rowStyle
search
searchAccentNeutralise
searchAlign
searchHighlight
searchOnEnterKey
searchSelector
searchText
searchTimeOut
selectItemName
serverSort
showButtonIcons
showButtonText
showColumns
showColumnsSearch
showColumnsToggleAll
showExtendedPagination
showFooter
showFullscreen
showHeader
showPaginationSwitch
showRefresh
showSearchButton
showSearchClearButton
showToggle
sidePagination
silentSort
singleSelect
smartDisplay
sortable
sortClass
sortEmptyLast
sortName
sortOrder
sortReset
sortResetPage
sortStable
strictSearch
theadClasses
toolbar
toolbarAlign
totalField
totalNotFiltered
totalNotFilteredField
totalRows
trimOnSearch
undefinedText
uniqueId
url
virtualScroll
virtualScrollItemHeight
visibleSearch
列表选项
align
cardVisible
cellStyle
checkbox
checkboxEnabled
class
clickToSelect
colspan
detailFormatter
escape
events
falign
field
footerFormatter
formatter
halign
order
radio
rowspan
searchable
searchFormatter
searchHighlightFormatter
showSelectTitle
sortable
sorter
sortName
switchable
title
titleTooltip
valign
visible
width
widthUnit
事件
onAll
onCheck
onCheckAll
onCheckSome
onClickCell
onClickRow
onCollapseRow
onColumnSwitch
onColumnSwitchAll
onDblClickCell
onDblClickRow
onExpandRow
onLoadError
onLoadSuccess
onPageChange
onPostBody
onPostFooter
onPostHeader
onPreBody
onRefresh
onRefreshOptions
onResetView
onScrollBody
onSearch
onSort
onToggle
onTogglePagination
onUncheck
onUncheckAll
onUncheckSome
onVirtualScroll
方法
append
check
checkAll
checkBy
checkInvert
collapseAllRows
collapseRow
collapseRowByUniqueId
destroy
expandAllRows
expandRow
expandRowByUniqueId
filterBy
getData
getHiddenColumns
getHiddenRows
getOptions
getRowByUniqueId
getScrollPosition
getSelections
getVisibleColumns
hideAllColumns
hideColumn
hideLoading
hideRow
insertRow
load
mergeCells
nextPage
prepend
prevPage
refresh
refreshOptions
remove
removeAll
removeByUniqueId
resetSearch
resetView
scrollTo
selectPage
showAllColumns
showColumn
showLoading
showRow
toggleDetailView
toggleFullscreen
togglePagination
toggleView
uncheck
uncheckAll
uncheckBy
updateByUniqueId
updateCell
updateCellByUniqueId
updateColumnTitle
updateFormatText
updateRow
本地化
扩展
地址栏
自动刷新
Cookie
复制行
自定义视图
延迟Url
编辑表
导出
过滤器控制
固定列
按v2分组
I18n 增强
关键事件
移动
多重排序
页面跳转
Pipeline
打印
重新排序列
重新排序行
调整大小
粘性标题(Sticky Header)
工具条
树形网格(Table Treegrid)
url - Bootstrap-table中文文档 - 笔下光年
网站首页
url
- 属性: `data-url` - 类型: `String` - 详情: 一个从远程站点请求数据的URL。 请注意,所需的服务器响应格式取决于是否 `'sidePagination'` 指定了该选项。请参阅以下示例: [Without server-side pagination](https://github.com/wenzhixin/bootstrap-table-examples/blob/master/json/data1.json "Without server-side pagination") [With server-side pagination](https://github.com/wenzhixin/bootstrap-table-examples/blob/master/json/data2.json "With server-side pagination") **URL参数:** 当 `sidePagination` 设置为 `server` 时,引导表将使用以下 `url` 参数调用url: - `offset`,值介于 `0` 和 `total-1` 之间,表示要包含的第一条记录。 - `limit`,值指示每页的行数。 在实现服务器端分页时,必须以类似于[此示例](https://examples.wenzhixin.net.cn/examples/bootstrap_table/data "此示例")的格式实现JSON视图。该视图必须采用上面指示的URL参数值,并返回从 `offset` 索引开始的记录,并返回由 `limit` 指示的记录数。例如,如果您想要记录11-20,则视图必须从URL字符串中获取`offset=10`和`limit=10`,并返回与[本例](https://examples.wenzhixin.net.cn/examples/bootstrap_table/data?offset=10&limit=10 "本例")类似的记录。 - 默认: `undefined`
上一篇:
uniqueId
下一篇:
virtualScroll