# Methods []({{ site.repo }}/blob/master/_docs/_includes/documentation/methods.md) --- The calling method syntax: `$('#table').bootstrapTable('method', parameter);`.
Name Parameter Description
getSelections none Return all selected rows, when no record selected, am empty array will return.
getData none Get the loaded data of table.
load data Load the data to table, the old rows will be removed.
append data Append the data to table.
remove params Remove data from table, the params contains two properties:
field: the field name of remove rows.
values: the values of remove rows.
updateRow params Update the specified row, the param contains following properties:
index: the row index to be updated.
row: the new row data.
mergeCells options Merge some cells to one cell, the options contains following properties:
index: the row index.
field: the field name.
rowspan: the rowspan count to be merged.
colspan: the colspan count to be merged.
refresh params Refresh the remote server data, you can set {silent: true} to refresh the data silently, and set {url: newUrl} to change the url.
showLoading none Show loading status.
hideLoading none Hide loading status.
checkAll none Check all current page rows.
uncheckAll none Uncheck all current page rows.
resetView params Reset the bootstrap table view, for example reset the table height.
destroy none Destroy the bootstrap table.
showColumn field Show the specified column.
hideColumn field Hide the specified column.