Skip to content

Commit

Permalink
Docs: Add note to some -init order examples that they are v2 specific
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanJard committed Jan 15, 2025
1 parent 4540892 commit 11e6790
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/option/order.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ new DataTable('#myTable', {
});
]]></example>

<example title="Single-column ordering as the initial state (using objects)"><![CDATA[
<example title="Single-column ordering as the initial state (using objects) - since 2.0"><![CDATA[
new DataTable('#myTable', {
order: {
idx: 1,
Expand All @@ -36,7 +36,7 @@ new DataTable('#myTable', {
});
]]></example>

<example title="Single-column ordering as the initial state (using objects and column names)"><![CDATA[
<example title="Single-column ordering as the initial state (using objects and column names) - since 2.0"><![CDATA[
new DataTable('#myTable', {
columns: [
{ name: 'first_name' },
Expand Down

0 comments on commit 11e6790

Please sign in to comment.