You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divclass="buildcolumns"><divclass="buildcolumns-page"><p>creates GridColumn objects from the columnDefinition. Calls each registered
34
34
columnBuilder to further process the column</p>
35
-
</div><h5id="methods_buildcolumns_parameters">Parameters</h5><tableclass="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>options</td><td><ahref="" class="label type-hint type-hint-object">object</a></td><td><divclass="buildcolumns-page"><p>An object contains options to use when building columns</p>
35
+
</div><h5id="methods_buildcolumns_parameters">Parameters</h5><tableclass="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>opts</td><td><ahref="" class="label type-hint type-hint-object">object</a></td><td><divclass="buildcolumns-page"><p>An object contains options to use when building columns</p>
36
36
<ul>
37
37
<li><strong>orderByColumnDefs</strong>: defaults to <strong>false</strong>. When true, <code>buildColumns</code> will reorder existing columns according to the order within the column definitions.</li>
38
38
</ul>
@@ -216,11 +216,11 @@ <h4 id="usage_parameters">Parameters</h4><table class="variables-matrix table ta
216
216
</div></td></tr></tbody></table><h5id="methods_processrowbuilders_returns">Returns</h5><tableclass="variables-matrix"><tr><td><ahref="" class="label type-hint type-hint-gridrow">GridRow</a></td><td><divclass="processrowbuilders-page"><p>the gridRow with all additional behavior added</p>
Copy file name to clipboardExpand all lines: docs/partials/api/ui.grid.class.GridApi.html
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,12 @@
5
5
</h1>
6
6
<div><h2id="description">Description</h2>
7
7
<divclass="description"><divclass="ui-grid-class-page ui-grid-class-gridapi-page"><p>GridApi provides the ability to register public methods events inside the grid and allow
8
-
for other components to use the api via featureName.raise.methodName and featureName.on.eventName(function(args){}.
8
+
for other components to use the api via featureName.raise.methodName and featureName.on.eventName(function(args){}.
9
9
<br/>
10
10
To listen to events, you must add a callback to gridOptions.onRegisterApi
<divclass="registermethodsfromobject"><divclass="registermethodsfromobject-page"><p>Registers features and methods from a simple objectMap.
70
70
eventObjectMap must be in this format (multiple features allowed)
71
71
<br>
72
72
{featureName:
73
73
{
74
-
methodNameOne:function(args){},
75
-
methodNameTwo:function(args){}
74
+
methodNameOne:function(args){},
75
+
methodNameTwo:function(args){}
76
76
}</p>
77
-
</div><h5id="methods_registermethodsfromobject_parameters">Parameters</h5><tableclass="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>eventObjectMap</td><td><ahref="" class="label type-hint type-hint-object">object</a></td><td><divclass="registermethodsfromobject-page"><p>map of feature/event names</p>
77
+
</div><h5id="methods_registermethodsfromobject_parameters">Parameters</h5><tableclass="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>methodMap</td><td><ahref="" class="label type-hint type-hint-object">object</a></td><td><divclass="registermethodsfromobject-page"><p>map of feature/event names</p>
78
78
</div></td></tr><tr><td>_this</td><td><ahref="" class="label type-hint type-hint-object">object</a></td><td><divclass="registermethodsfromobject-page"><p>binds this to _this for all functions. Defaults to gridApi.grid</p>
79
79
</div></td></tr></tbody></table></div>
80
80
</li>
@@ -87,7 +87,7 @@ <h4 id="usage_parameters">Parameters</h4><table class="variables-matrix table ta
87
87
</div></td></tr><tr><td>callBackFn</td><td><ahref="" class="label type-hint type-hint-object">object</a></td><td><divclass="ui-grid-class-page ui-grid-class-suppressevents-page"><p>function to execute</p>
<divclass="setpropertyordefault"><divclass="setpropertyordefault-page"><p>Sets a property on the column using the passed in columnDef, and
57
57
setting the defaultValue if the value cannot be found on the colDef</p>
58
-
</div><h5id="methods_setpropertyordefault_parameters">Parameters</h5><tableclass="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>colDef</td><td><ahref="" class="label type-hint type-hint-columndef">ColumnDef</a></td><td><divclass="setpropertyordefault-page"><p>the column def to look in for the property value</p>
58
+
</div><h5id="methods_setpropertyordefault_parameters">Parameters</h5><tableclass="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>colDef</td><td><ahref="" class="label type-hint type-hint-gridcolumn">GridColumn</a></td><td><divclass="setpropertyordefault-page"><p>the column def to look in for the property value</p>
59
59
</div></td></tr><tr><td>propName</td><td><ahref="" class="label type-hint type-hint-string">string</a></td><td><divclass="setpropertyordefault-page"><p>the property name we'd like to set</p>
60
60
</div></td></tr><tr><td>defaultValue</td><td><ahref="" class="label type-hint type-hint-object">object</a></td><td><divclass="setpropertyordefault-page"><p>the value to use if the colDef doesn't provide the setting</p>
61
61
</div></td></tr></tbody></table></div>
@@ -71,7 +71,7 @@ <h4 id="usage_parameters">Parameters</h4><table class="variables-matrix table ta
<divclass="updatecolumndef"><divclass="updatecolumndef-page"><p>Moves settings from the columnDef down onto the column,
73
73
and sets properties as appropriate</p>
74
-
</div><h5id="methods_updatecolumndef_parameters">Parameters</h5><tableclass="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>colDef</td><td><ahref="" class="label type-hint type-hint-columndef">ColumnDef</a></td><td><divclass="updatecolumndef-page"><p>the column def to look in for the property value</p>
74
+
</div><h5id="methods_updatecolumndef_parameters">Parameters</h5><tableclass="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>colDef</td><td><ahref="" class="label type-hint type-hint-gridcolumn">GridColumn</a></td><td><divclass="updatecolumndef-page"><p>the column def to look in for the property value</p>
75
75
</div></td></tr><tr><td>isNew</td><td><ahref="" class="label type-hint type-hint-boolean">boolean</a></td><td><divclass="updatecolumndef-page"><p>whether the column is being newly created, if not
76
76
we're updating an existing column, and some items such as the sort shouldn't
77
77
be copied down</p>
@@ -88,7 +88,7 @@ <h4 id="usage_parameters">Parameters</h4><table class="variables-matrix table ta
88
88
<li><h3id="properties_extrastyle">extraStyle</h3>
89
89
<divclass="extrastyle"><divclass="extrastyle-page"><p>additional on this column.</p>
Copy file name to clipboardExpand all lines: docs/partials/api/ui.grid.directive.uiGridColumnMenu.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ <h2 id="usage">Usage</h2>
25
25
to the right place whilst hidden (it will make an assumption on menu width),
26
26
then it asks the menu to show (it will animate), then it repositions the menu again
27
27
once we can calculate it's size.</p>
28
-
</div><h5id="methods_showmenu_parameters">Parameters</h5><tableclass="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>column</td><td><ahref="" class="label type-hint type-hint-gridcol">GridCol</a></td><td><divclass="showmenu-page"><p>the column we want to position below</p>
28
+
</div><h5id="methods_showmenu_parameters">Parameters</h5><tableclass="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>column</td><td><ahref="" class="label type-hint type-hint-gridcolumn">GridColumn</a></td><td><divclass="showmenu-page"><p>the column we want to position below</p>
29
29
</div></td></tr><tr><td>$columnElement</td><td><ahref="" class="label type-hint type-hint-element">element</a></td><td><divclass="showmenu-page"><p>the column element we want to position below</p>
0 commit comments