Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/app/examples/grid-rowdetail.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ export class GridRowDetailComponent implements OnInit {
// load only once and reuse the same item detail without calling process method
loadOnce: true,

// limit expanded row to only 1 at a time
singleRowExpand: false,

// false by default, clicking anywhere on the row will open the detail view
// when set to false, only the "+" icon would open the row detail
// if you use editor or cell navigation you would want this flag set to false (default)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ export interface RowDetailView {
/** Defaults to true, which will save the row detail view in a cache when it detects that it will become out of the viewport buffer */
saveDetailViewOnScroll?: boolean;

/** Defaults to false, which will limit expanded row to only 1 at a time (it will close all other rows before opening new one). */
singleRowExpand?: boolean;

/**
* Defaults to false, which will use a simpler way of calculating when rows become out (or back) of viewport range.
* It is recommended to enable this flag since it seems to work correctly with Aurelia-Slickgrid while the inverse is misbehaving
Expand Down