Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new: New language option for the joiner between two input elements, i…
….e. the and in between conditions Jira Issue DD-1719
- Loading branch information
1 parent
4bc213f
commit 30794a2
Showing
5 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<dt-option library="SearchBuilder"> | ||
<name>language.searchBuilder.valueJoiner</name> | ||
<summary>Set the placeholder text for the SearchBuilder value select element</summary> | ||
<since>1.0.0</since> | ||
|
||
<type type="string | object"> | ||
<description> | ||
`-init language.searchBuilder.valueJoiner` changes what will be displayed between the two input elements, when a two part condition is selected (like between). | ||
</description> | ||
</type> | ||
|
||
<default value="and" /> | ||
|
||
<description> | ||
<![CDATA[ | ||
This will set the text between the two value input elements, by default this is `'and'`. This language option is available in custom conditions and plugins also. | ||
]]> | ||
</description> | ||
|
||
<example title="Change text for SearchBuilder Value"><![CDATA[ | ||
$(document).ready(function() { | ||
$('#example').DataTable( { | ||
language: { | ||
searchBuilder: { | ||
valueJoiner: 'et' | ||
} | ||
}, | ||
dom: 'Qlfrtip', | ||
}); | ||
}); | ||
]]></example> | ||
|
||
<related type="init">searchBuilder.conditions[type]</related> | ||
|
||
</dt-option> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters