File tree Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ default:
39
39
- saveVisible
40
40
- saveSort
41
41
- saveFilter
42
+ - savePagination
42
43
- savePinning
43
44
- saveGrouping
44
45
- saveGroupingExpandedStates
Original file line number Diff line number Diff line change 156
156
* @methodOf ui.grid.rowEdit.api:PublicApi
157
157
* @name setRowsDirty
158
158
* @description Sets each of the rows passed in dataRows
159
- * to be dirty. note that if you have only just inserted the
159
+ * to be dirty. Note that if you have only just inserted the
160
160
* rows into your data you will need to wait for a $digest cycle
161
161
* before the gridRows are present - so often you would wrap this
162
- * call in a $interval or $timeout
162
+ * call in a $interval or $timeout. Also, you must pass row.entity
163
+ * into this function rather than row objects themselves.
163
164
* <pre>
164
165
* $interval( function() {
165
166
* gridApi.rowEdit.setRowsDirty(myDataRows);
Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ angular.module('ui.grid')
302
302
* - direction: values are {@link ui.grid.service:uiGridConstants#properties_ASC uiGridConstants.ASC}
303
303
* or {@link ui.grid.service:uiGridConstants#properties_DESC uiGridConstants.DESC}
304
304
* - ignoreSort: if set to true this sort is ignored (used by tree to manipulate the sort functionality)
305
- * - priority: says what order to sort the columns in (lower priority gets sorted first).
305
+ * - priority: says what order to sort the columns in (lower priority gets sorted first). Starts from 0.
306
306
* @example
307
307
* <pre>
308
308
* $scope.gridOptions.columnDefs = [{
Original file line number Diff line number Diff line change @@ -216,13 +216,19 @@ angular.module('ui.grid')
216
216
*/
217
217
baseOptions . showHeader = typeof ( baseOptions . showHeader ) !== "undefined" ? baseOptions . showHeader : true ;
218
218
219
- /* (NOTE): Don't show this in the docs. We only use it internally
219
+ /**
220
220
* @ngdoc property
221
221
* @name headerRowHeight
222
222
* @propertyOf ui.grid.class:GridOptions
223
- * @description The height of the header in pixels, defaults to 30
223
+ * @description The height of the header in pixels, defaults to 30.
224
+ * Although, we recommend that you alter header height with CSS rather than using this option:
224
225
*
225
- */
226
+ * <pre>
227
+ * .grid .ui-grid-header-cell {
228
+ * height: 60px;
229
+ * }
230
+ * </pre>
231
+ **/
226
232
if ( ! baseOptions . showHeader ) {
227
233
baseOptions . headerRowHeight = 0 ;
228
234
}
You can’t perform that action at this time.
0 commit comments