File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
src/features/expandable/js Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 416
416
gridUtil . getTemplate ( $scope . grid . options . expandableRowTemplate ) . then (
417
417
function ( template ) {
418
418
if ( $scope . grid . options . expandableRowScope ) {
419
+ /**
420
+ * @ngdoc object
421
+ * @name expandableRowScope
422
+ * @propertyOf ui.grid.expandable.api:GridOptions
423
+ * @description Variables of object expandableScope will be available in the scope of the expanded subgrid
424
+ * @example
425
+ * <pre>
426
+ * $scope.gridOptions = {
427
+ * expandableRowScope: expandableScope
428
+ * }
429
+ * </pre>
430
+ */
419
431
var expandableRowScope = $scope . grid . options . expandableRowScope ;
420
432
for ( var property in expandableRowScope ) {
421
433
if ( expandableRowScope . hasOwnProperty ( property ) ) {
You can’t perform that action at this time.
0 commit comments