Skip to content

Commit

Permalink
gh-pages v4.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelo-portugal committed Feb 23, 2022
1 parent 25bb238 commit 6a5022f
Show file tree
Hide file tree
Showing 383 changed files with 104,023 additions and 7,121 deletions.
10,228 changes: 4,325 additions & 5,903 deletions docs/grunt-scripts/pdfmake.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/grunt-scripts/vfs_fonts.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/js/docs-setup.js

Large diffs are not rendered by default.

94 changes: 56 additions & 38 deletions docs/partials/api/ui.grid.class.Grid.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/partials/api/ui.grid.class.rowSorter.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
algorithms</p>
</div></div>
<div class="member method"><h2 id="methods">Methods</h2>
<ul class="methods"><li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L103" class="view-source icon-eye-open"> </a><h3 id="methods_basicsort">basicSort(a, b)</h3>
<ul class="methods"><li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L92" class="view-source icon-eye-open"> </a><h3 id="methods_basicsort">basicSort(a, b)</h3>
<div class="basicsort"><div class="basicsort-page"><p>Sorts any values that provide the &lt; method, including strings
or numbers. Handles nulls and undefined through calling handleNulls</p>
</div><h5 id="methods_basicsort_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>a</td><td><a href="" class="label type-hint type-hint-object">object</a></td><td><div class="basicsort-page"><p>sort value a</p>
</div></td></tr><tr><td>b</td><td><a href="" class="label type-hint type-hint-object">object</a></td><td><div class="basicsort-page"><p>sort value b</p>
</div></td></tr></tbody></table><h5 id="methods_basicsort_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-number">number</a></td><td><div class="basicsort-page"><p>normal sort function, returns -ve, 0, +ve</p>
</div></td></tr></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L293" class="view-source icon-eye-open"> </a><h3 id="methods_getsortfn">getSortFn(grid, col, rows)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L251" class="view-source icon-eye-open"> </a><h3 id="methods_getsortfn">getSortFn(grid, col, rows)</h3>
<div class="getsortfn"><div class="getsortfn-page"><p>Get the sort function for the column. Looks first in
rowSorter.colSortFnCache using the column name, failing that it
looks at col.sortingAlgorithm (and puts it in the cache), failing that
Expand All @@ -34,14 +34,14 @@
</div></td></tr></tbody></table><h5 id="methods_getsortfn_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-function">function</a></td><td><div class="getsortfn-page"><p>the sort function chosen for the column</p>
</div></td></tr></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L42" class="view-source icon-eye-open"> </a><h3 id="methods_guesssortfn">guessSortFn(itemType)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L32" class="view-source icon-eye-open"> </a><h3 id="methods_guesssortfn">guessSortFn(itemType)</h3>
<div class="guesssortfn"><div class="guesssortfn-page"><p>Assigns a sort function to use based on the itemType in the column</p>
</div><h5 id="methods_guesssortfn_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>itemType</td><td><a href="" class="label type-hint type-hint-string">string</a></td><td><div class="guesssortfn-page"><p>one of &#39;number&#39;, &#39;boolean&#39;, &#39;string&#39;, &#39;date&#39;, &#39;object&#39;. And
error will be thrown for any other type.</p>
</div></td></tr></tbody></table><h5 id="methods_guesssortfn_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-function">function</a></td><td><div class="guesssortfn-page"><p>a sort function that will sort that type</p>
</div></td></tr></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L75" class="view-source icon-eye-open"> </a><h3 id="methods_handlenulls">handleNulls(a, b)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L65" class="view-source icon-eye-open"> </a><h3 id="methods_handlenulls">handleNulls(a, b)</h3>
<div class="handlenulls"><div class="handlenulls-page"><p>Sorts nulls and undefined to the bottom (top when
descending). Called by each of the internal sorters before
attempting to sort. Note that this method is available on the core api
Expand All @@ -52,7 +52,7 @@
a sort value that should be passed back from the sort function</p>
</div></td></tr></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L344" class="view-source icon-eye-open"> </a><h3 id="methods_prioritysort">prioritySort(a, b)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L295" class="view-source icon-eye-open"> </a><h3 id="methods_prioritysort">prioritySort(a, b)</h3>
<div class="prioritysort"><div class="prioritysort-page"><p>Used where multiple columns are present in the sort criteria,
we determine which column should take precedence in the sort by sorting
the columns based on their sort.priority</p>
Expand All @@ -61,7 +61,7 @@
</div></td></tr></tbody></table><h5 id="methods_prioritysort_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-number">number</a></td><td><div class="prioritysort-page"><p>normal sort function, returns -ve, 0, +ve</p>
</div></td></tr></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L396" class="view-source icon-eye-open"> </a><h3 id="methods_sort">sort(grid, rows, columns)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L343" class="view-source icon-eye-open"> </a><h3 id="methods_sort">sort(grid, rows, columns)</h3>
<div class="sort"><div class="sort-page"><p>sorts the grid</p>
</div><h5 id="methods_sort_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>grid</td><td><a href="" class="label type-hint type-hint-object">Object</a></td><td><div class="sort-page"><p>the grid itself</p>
</div></td></tr><tr><td>rows</td><td><a href="" class="label type-hint type-hint-array">array</a></td><td><div class="sort-page"><p>the rows to be sorted</p>
Expand All @@ -70,37 +70,37 @@
</div></td></tr></tbody></table><h5 id="methods_sort_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-array">array</a></td><td><div class="sort-page"><p>sorted rows</p>
</div></td></tr></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L201" class="view-source icon-eye-open"> </a><h3 id="methods_sortalpha">sortAlpha(a, b)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L173" class="view-source icon-eye-open"> </a><h3 id="methods_sortalpha">sortAlpha(a, b)</h3>
<div class="sortalpha"><div class="sortalpha-page"><p>Sorts string values. Handles nulls and undefined through calling handleNulls</p>
</div><h5 id="methods_sortalpha_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>a</td><td><a href="" class="label type-hint type-hint-object">object</a></td><td><div class="sortalpha-page"><p>sort value a</p>
</div></td></tr><tr><td>b</td><td><a href="" class="label type-hint type-hint-object">object</a></td><td><div class="sortalpha-page"><p>sort value b</p>
</div></td></tr></tbody></table><h5 id="methods_sortalpha_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-number">number</a></td><td><div class="sortalpha-page"><p>normal sort function, returns -ve, 0, +ve</p>
</div></td></tr></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L253" class="view-source icon-eye-open"> </a><h3 id="methods_sortbool">sortBool(a, b)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L217" class="view-source icon-eye-open"> </a><h3 id="methods_sortbool">sortBool(a, b)</h3>
<div class="sortbool"><div class="sortbool-page"><p>Sorts boolean values, true is considered larger than false.
Handles nulls and undefined through calling handleNulls</p>
</div><h5 id="methods_sortbool_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>a</td><td><a href="" class="label type-hint type-hint-object">object</a></td><td><div class="sortbool-page"><p>sort value a</p>
</div></td></tr><tr><td>b</td><td><a href="" class="label type-hint type-hint-object">object</a></td><td><div class="sortbool-page"><p>sort value b</p>
</div></td></tr></tbody></table><h5 id="methods_sortbool_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-number">number</a></td><td><div class="sortbool-page"><p>normal sort function, returns -ve, 0, +ve</p>
</div></td></tr></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L224" class="view-source icon-eye-open"> </a><h3 id="methods_sortdate">sortDate(a, b)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L195" class="view-source icon-eye-open"> </a><h3 id="methods_sortdate">sortDate(a, b)</h3>
<div class="sortdate"><div class="sortdate-page"><p>Sorts date values. Handles nulls and undefined through calling handleNulls.
Handles date strings by converting to Date object if not already an instance of Date</p>
</div><h5 id="methods_sortdate_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>a</td><td><a href="" class="label type-hint type-hint-object">object</a></td><td><div class="sortdate-page"><p>sort value a</p>
</div></td></tr><tr><td>b</td><td><a href="" class="label type-hint type-hint-object">object</a></td><td><div class="sortdate-page"><p>sort value b</p>
</div></td></tr></tbody></table><h5 id="methods_sortdate_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-number">number</a></td><td><div class="sortdate-page"><p>normal sort function, returns -ve, 0, +ve</p>
</div></td></tr></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L128" class="view-source icon-eye-open"> </a><h3 id="methods_sortnumber">sortNumber(a, b)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L118" class="view-source icon-eye-open"> </a><h3 id="methods_sortnumber">sortNumber(a, b)</h3>
<div class="sortnumber"><div class="sortnumber-page"><p>Sorts numerical values. Handles nulls and undefined through calling handleNulls</p>
</div><h5 id="methods_sortnumber_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>a</td><td><a href="" class="label type-hint type-hint-object">object</a></td><td><div class="sortnumber-page"><p>sort value a</p>
</div></td></tr><tr><td>b</td><td><a href="" class="label type-hint type-hint-object">object</a></td><td><div class="sortnumber-page"><p>sort value b</p>
</div></td></tr></tbody></table><h5 id="methods_sortnumber_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-number">number</a></td><td><div class="sortnumber-page"><p>normal sort function, returns -ve, 0, +ve</p>
</div></td></tr></table></div>
</li>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L148" class="view-source icon-eye-open"> </a><h3 id="methods_sortnumberstr">sortNumberStr(a, b)</h3>
<li><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/core/src/js/services/rowSorter.js#L142" class="view-source icon-eye-open"> </a><h3 id="methods_sortnumberstr">sortNumberStr(a, b)</h3>
<div class="sortnumberstr"><div class="sortnumberstr-page"><p>Sorts numerical values that are stored in a string (i.e. parses them to numbers first).
Handles nulls and undefined through calling handleNulls</p>
</div><h5 id="methods_sortnumberstr_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>a</td><td><a href="" class="label type-hint type-hint-object">object</a></td><td><div class="sortnumberstr-page"><p>sort value a</p>
Expand Down
36 changes: 32 additions & 4 deletions docs/partials/api/ui.grid.exporter.api.GridOptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,14 @@
<li><h3 id="properties_exportercsvfilename">exporterCsvFilename</h3>
<div class="exportercsvfilename"><div class="exportercsvfilename-page"><p>The default filename to use when saving the downloaded csv.
This will only work in some browsers.
<br/>Defaults to &#39;download.csv&#39;</p>
<br/>Defaults to &#39;download.csv&#39;
<pre class="prettyprint linenums">
gridOptions.exporterCsvFilename = "rows.csv"
</pre>
<br/>Or a function returning a string:
<pre class="prettyprint linenums">
gridOptions.exporterCsvFilename = function(grid, rowTypes, colTypes) { return "rows" + rowTypes + ".csv" };
</pre>
</div></div>
</li>
<li><h3 id="properties_exporterexcelcustomformatters">exporterExcelCustomFormatters</h3>
Expand Down Expand Up @@ -82,7 +89,14 @@
</li>
<li><h3 id="properties_exporterexcelfilename">exporterExcelFilename</h3>
<div class="exporterexcelfilename"><div class="exporterexcelfilename-page"><p>The default filename to use when saving the downloaded excel, only used in IE (other browsers open excels in a new window)
<br/>Defaults to &#39;download.xlsx&#39;</p>
<br/>Defaults to &#39;download.xlsx&#39;
<pre class="prettyprint linenums">
gridOptions.exporterExcelFilename = "rows.xlsx"
</pre>
<br/>Or a function returning a string:
<pre class="prettyprint linenums">
gridOptions.exporterExcelFilename = function(grid, rowTypes, colTypes) { return "rows" + rowTypes + ".xlsx" };
</pre>
</div></div>
</li>
<li><h3 id="properties_exporterexcelheader">exporterExcelHeader</h3>
Expand All @@ -104,7 +118,14 @@
</li>
<li><h3 id="properties_exporterexcelsheetname">exporterExcelSheetName</h3>
<div class="exporterexcelsheetname"><div class="exporterexcelsheetname-page"><p>The default sheetname to use when saving the downloaded to excel
<br/>Defaults to &#39;Sheet1&#39;</p>
<br/>Defaults to &#39;Sheet1&#39;
<pre class="prettyprint linenums">
gridOptions.exporterExcelSheetName = "HitListSheet"
</pre>
<br/>Or a function returning a string:
<pre class="prettyprint linenums">
gridOptions.exporterExcelSheetName = function(grid, rowTypes, colTypes) { return "HitListSheet" + rowTypes };
</pre>
</div></div>
</li>
<li><h3 id="properties_exporterfieldapplyfilters">exporterFieldApplyFilters</h3>
Expand Down Expand Up @@ -259,7 +280,14 @@
</li>
<li><h3 id="properties_exporterpdffilename">exporterPdfFilename</h3>
<div class="exporterpdffilename"><div class="exporterpdffilename-page"><p>The default filename to use when saving the downloaded pdf, only used in IE (other browsers open pdfs in a new window)
<br/>Defaults to &#39;download.pdf&#39;</p>
<br/>Defaults to &#39;download.pdf&#39;
<pre class="prettyprint linenums">
gridOptions.exporterPdfFilename = "rows.pdf"
</pre>
<br/>Or a function returning a string:
<pre class="prettyprint linenums">
gridOptions.exporterPdfFilename = function(grid, rowTypes, colTypes) { return "rows" + rowTypes + ".pdf" };
</pre>
</div></div>
</li>
<li><h3 id="properties_exporterpdffooter">exporterPdfFooter</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/partials/api/ui.grid.exporter.api.GridRow.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a href="https://github.com/angular-ui/ui-grid/edit/master/packages/exporter/src/js/exporter.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/exporter/src/js/exporter.js#L937" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">GridRow</code>
<a href="https://github.com/angular-ui/ui-grid/edit/master/packages/exporter/src/js/exporter.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/exporter/src/js/exporter.js#L966" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">GridRow</code>
<div><span class="hint">object in module <code ng:non-bindable="">ui.grid.exporter</code>
</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a href="https://github.com/angular-ui/ui-grid/edit/master/packages/exporter/src/js/exporter.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/exporter/src/js/exporter.js#L1712" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">uiGridExporter</code>
<a href="https://github.com/angular-ui/ui-grid/edit/master/packages/exporter/src/js/exporter.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/angular-ui/ui-grid/blob/master/packages/exporter/src/js/exporter.js#L1746" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">uiGridExporter</code>
<div><span class="hint">directive in module <code ng:non-bindable="">ui.grid.exporter</code>
</span>
</div>
Expand Down
Loading

0 comments on commit 6a5022f

Please sign in to comment.