Skip to content

Commit

Permalink
Docs: Add clarification to -init layout on moving a feature to a no…
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanJard committed Feb 29, 2024
1 parent aaab66b commit 50cbfc3
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions docs/option/layout.xml
Expand Up @@ -4,16 +4,25 @@
<summary>Define and position the table control elements to appear on the page</summary>
<since>2.0.0</since>
<type type="object" />
<default value=""><![CDATA[
The default layout for DataTables is:
```js
{
topStart: 'pageLength',
topEnd: 'search',
bottomStart: 'info',
bottomEnd: 'paging'
}
```
<default><![CDATA[
The default layout for DataTables is:
```js
{
topStart: 'pageLength',
topEnd: 'search',
bottomStart: 'info',
bottomEnd: 'paging'
}
```
Please note that if you assign one of the features used in the default object to a different location, it will not automatically be removed from its original position. For example, to display the `-feature search` feature in the `topStart` position only, you would need to use:
```js
{
topStart: 'search',
topEnd: null
}
```
]]></default>

<description>
Expand Down

0 comments on commit 50cbfc3

Please sign in to comment.