Skip to content

Commit

Permalink
Fix wenzhixin#3490: update ignoreClickToSelectOn documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzhixin committed Dec 13, 2017
1 parent de8cbcf commit 2e3a8cb
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_i18n/en/documentation/column-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ function cellStyle(value, row, index, field) {
<td>Boolean</td>
<td>true</td>
<td>
True to search use formated data.
True to search use formatted data.
</td>
</tr>
<tr>
Expand Down
11 changes: 11 additions & 0 deletions docs/_i18n/es/documentation/table-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,17 @@ Las opciones de la tabla están definidas en `jQuery.fn.bootstrapTable.defaults`
<td>false</td>
<td>True para seleccionar el checkbox o el radiobox cuando se da click sobre las filas.</td>
</tr>
<tr>
<td>ignoreClickToSelectOn</td>
<td>data-ignore-click-to-select-on</td>
<td>Function</td>
<td><code>{ return $.inArray(element.tagName, ['A', 'BUTTON']); }</code></td>
<td>
Takes one parameters:<br>
element: the element clicked on.<br>
Return true if the click should be ignored, false if the click should cause the row to be selected. This option is only relevant if clickToSelect is true.
</td>
</tr>
<tr>
<td>singleSelect</td>
<td>data-single-select</td>
Expand Down
11 changes: 11 additions & 0 deletions docs/_i18n/zh-cn/documentation/table-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,17 @@
<td>false</td>
<td>设置 true 将在点击行时,自动选择 rediobox 和 checkbox。</td>
</tr>
<tr>
<td>ignoreClickToSelectOn</td>
<td>data-ignore-click-to-select-on</td>
<td>Function</td>
<td><code>{ return $.inArray(element.tagName, ['A', 'BUTTON']); }</code></td>
<td>
包含一个参数:<br>
element: 点击的元素。<br>
返回 true 是点击事件会被忽略,返回 false 将会自动选中。该选项只有在 clickToSelect 为 true 时才生效。
</td>
</tr>
<tr>
<td>singleSelect</td>
<td>data-single-select</td>
Expand Down

0 comments on commit 2e3a8cb

Please sign in to comment.