From 584fcafda84d272c5646ba4fe9c4b5ac65ed935c Mon Sep 17 00:00:00 2001 From: Constance Chen Date: Thu, 27 Jan 2022 13:40:45 -0800 Subject: [PATCH] Update documentation with new behavior --- .../views/datagrid/datagrid_ref_example.js | 28 ++++++++++++++++--- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/src-docs/src/views/datagrid/datagrid_ref_example.js b/src-docs/src/views/datagrid/datagrid_ref_example.js index 49e9ee6fd2bc..40a2c47f54b5 100644 --- a/src-docs/src/views/datagrid/datagrid_ref_example.js +++ b/src-docs/src/views/datagrid/datagrid_ref_example.js @@ -63,10 +63,30 @@ export const DataGridRefExample = {
  • -

    - openCellPopover({'{ rowIndex, colIndex }'}) - - opens the specified cell's popover contents. -

    + openCellPopover({'{ rowIndex, colIndex }'}) - + opens the specified cell's popover contents. + + + When using setFocusedCell or{' '} + openCellPopover, keep in mind: +
      +
    • + colIndex is affected by the user reordering or hiding + columns. +
    • +
    • + If the passed cell indices are outside the data grid's + total row count or visible column count, an error will be + thrown. +
    • +
    • + If the data grid is paginated or sorted, the grid will + handle automatically finding specified row index's + correct location for you. +
    • +
    +
    +