Docs for TreeTable

pull/41/head
cagataycivici 2019-08-11 14:24:57 +03:00
parent a084cfa689
commit fda68fac9e
4 changed files with 1099 additions and 283 deletions

View File

@ -579,6 +579,11 @@ export default {
valueChanged = valueChanged || !localMatch || globalMatch; valueChanged = valueChanged || !localMatch || globalMatch;
} }
this.$emit('filter', {
filters: this.filters,
filteredValue: filteredNodes
});
return valueChanged ? filteredNodes : value; return valueChanged ? filteredNodes : value;
}, },
findFilteredNodes(node, paramsWithoutNode) { findFilteredNodes(node, paramsWithoutNode) {

View File

@ -116,7 +116,7 @@ export default {
} }
</CodeHighlight> </CodeHighlight>
<h3>Column Component Properties</h3> <h3>Column Component Properties utilized by the DataTable</h3>
<div class="doc-tablewrapper"> <div class="doc-tablewrapper">
<table class="doc-table"> <table class="doc-table">
<thead> <thead>

View File

@ -10,7 +10,7 @@ import Tree from 'primevue/tree';
<h3>Getting Started</h3> <h3>Getting Started</h3>
<p>Tree component requires an array of TreeNode objects as its <i>value</i>.</p> <p>Tree component requires an array of TreeNode objects as its <i>value</i>.</p>
<h3>TreeNode API</h3> <h3>TreeNode API utilized by the Tree</h3>
<div class="doc-tablewrapper"> <div class="doc-tablewrapper">
<table class="doc-table"> <table class="doc-table">
<thead> <thead>
@ -544,7 +544,7 @@ export default {
</CodeHighlight> </CodeHighlight>
<h3>Properties</h3> <h3>Properties</h3>
<p>Any valid attribute such as name and autofocus are passed to the underlying input element. Following is the additional property to configure the component.</p> <p>Any valid attribute such as style and class are passed to the underlying root element. Following is the additional property to configure the component.</p>
<div class="doc-tablewrapper"> <div class="doc-tablewrapper">
<table class="doc-table"> <table class="doc-table">
<thead> <thead>

File diff suppressed because it is too large Load Diff