Skip to content

Commit 48b8387

Browse files
slax57djhi
andauthored
[no ci] Update docs/ShowDialog.md
Co-authored-by: Gildas Garcia <1122076+djhi@users.noreply.github.com>
1 parent bf3c81c commit 48b8387

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/ShowDialog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ You can also hide the title by passing `null`:
275275

276276
## Usage Without Routing
277277

278-
By default, `<ShowDialog>` creates a react-router `<Route>` for the displaying path (e.g. `/posts/2/show`), and renders when users go to that location (either by clicking on a datatable row, or by typing the URL in the browser). If you embed it in the `list` page as explained above, the dialog will always render on top of the list.
278+
By default, `<ShowDialog>` creates a react-router `<Route>` for the displaying path (e.g. `/posts/2/show`), and renders when users go to that location (either by clicking on a `<DataTable>` row, or by typing the URL in the browser). If you embed it in the `list` page as explained above, the dialog will always render on top of the list.
279279

280280
This may not be what you want if you need to display the show dialog in another page (e.g. to show a related record).
281281

0 commit comments

Comments
 (0)