{
    "componentChunkName": "component---src-templates-doc-page-jsx",
    "path": "/javascript-data-grid/full-width-rows/",
    "result": {"data":{"markdownRemark":{"htmlAst":{"type":"root","children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Under normal operation, AG Grid will render each row as a horizontal list of cells. Each cell in the row will correspond to one column definition. It is possible to switch this off and allow you to provide one component to span the entire width of the grid and not use columns. This is useful if you want to embed a complex component inside the grid instead of rendering a list of cells. This technique can be used for displaying panels of information."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"div","properties":{"className":["custom-block","note"]},"children":[{"type":"element","tagName":"div","properties":{"className":["custom-block-body"]},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"You may be wondering what full width rows are useful for. Their usage is very rare and most\napplications will not use them. If you cannot think of a use case for it, then don't worry,\ndo not use it. Full width rows were initially introduced into AG Grid to support\n"},{"type":"element","tagName":"a","properties":{"href":"/archive/29.3.4/master-detail/"},"children":[{"type":"text","value":"Master / Detail"}]},{"type":"text","value":" before the grid provided direct support for master / detail.\nNow that master / detail is directly supported, the usefulness of full width is reduced."}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"simple-example-of-full-width-rows","style":"position:relative;"},"children":[{"type":"text","value":"Simple Example of Full Width Rows"},{"type":"element","tagName":"a","properties":{"href":"#simple-example-of-full-width-rows","ariaLabel":"simple example of full width rows permalink","className":["docs-header-icon","after"]},"children":[{"type":"element","tagName":"svg","properties":{"id":"icon","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 32 32"},"children":[{"type":"element","tagName":"path","properties":{"d":"M29.25,6.76a6,6,0,0,0-8.5,0l1.42,1.42a4,4,0,1,1,5.67,5.67l-8,8a4,4,0,1,1-5.67-5.66l1.41-1.42-1.41-1.42-1.42,1.42a6,6,0,0,0,0,8.5A6,6,0,0,0,17,25a6,6,0,0,0,4.27-1.76l8-8A6,6,0,0,0,29.25,6.76Z"},"children":[]},{"type":"element","tagName":"path","properties":{"d":"M4.19,24.82a4,4,0,0,1,0-5.67l8-8a4,4,0,0,1,5.67,0A3.94,3.94,0,0,1,19,14a4,4,0,0,1-1.17,2.85L15.71,19l1.42,1.42,2.12-2.12a6,6,0,0,0-8.51-8.51l-8,8a6,6,0,0,0,0,8.51A6,6,0,0,0,7,28a6.07,6.07,0,0,0,4.28-1.76L9.86,24.82A4,4,0,0,1,4.19,24.82Z"},"children":[]}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Below shows a simple example using full width. The following can be noted:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"The rows for countries France, Italy and Peru have full width components instead of cells."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Sorting and filtering all work as if the data was displayed as normal."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"div","properties":{},"children":[{"type":"element","tagName":"grid-example","properties":{"title":"Simple Full Width","name":"simple-full-width","type":"generated","options":" { \"exampleHeight\": 580 }"},"children":[]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"understanding-full-width","style":"position:relative;"},"children":[{"type":"text","value":"Understanding Full Width"},{"type":"element","tagName":"a","properties":{"href":"#understanding-full-width","ariaLabel":"understanding full width permalink","className":["docs-header-icon","after"]},"children":[{"type":"element","tagName":"svg","properties":{"id":"icon","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 32 32"},"children":[{"type":"element","tagName":"path","properties":{"d":"M29.25,6.76a6,6,0,0,0-8.5,0l1.42,1.42a4,4,0,1,1,5.67,5.67l-8,8a4,4,0,1,1-5.67-5.66l1.41-1.42-1.41-1.42-1.42,1.42a6,6,0,0,0,0,8.5A6,6,0,0,0,17,25a6,6,0,0,0,4.27-1.76l8-8A6,6,0,0,0,29.25,6.76Z"},"children":[]},{"type":"element","tagName":"path","properties":{"d":"M4.19,24.82a4,4,0,0,1,0-5.67l8-8a4,4,0,0,1,5.67,0A3.94,3.94,0,0,1,19,14a4,4,0,0,1-1.17,2.85L15.71,19l1.42,1.42,2.12-2.12a6,6,0,0,0-8.51-8.51l-8,8a6,6,0,0,0,0,8.51A6,6,0,0,0,7,28a6.07,6.07,0,0,0,4.28-1.76L9.86,24.82A4,4,0,0,1,4.19,24.82Z"},"children":[]}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"A "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"fullWidth"}]},{"type":"text","value":" (full width) component takes up the entire width of the grid. A full width component:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"is not impacted by horizontal scrolling."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"is the width of the grid, regardless of what columns are present."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"is not impacted by pinned sections of the grid, will span left and right pinned areas regardless."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"does not participate in the navigation, rangeSelection (AG Grid Enterprise) or contextMenu (AG Grid Enterprise) of the main grid."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"To use "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"fullWidth"}]},{"type":"text","value":", you must:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ol","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Implement the "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"isFullWidthRow(params)"}]},{"type":"text","value":" callback, to tell the grid which rows should be treated as "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"fullWidth"}]},{"type":"text","value":"."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Provide a "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"fullWidthCellRenderer"}]},{"type":"text","value":", to tell the grid what "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"cellRenderer"}]},{"type":"text","value":" to use when doing "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"fullWidth"}]},{"type":"text","value":" rendering."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"div","properties":{},"children":[{"type":"element","tagName":"api-documentation","properties":{"source":"grid-options/properties.json","section":"styling","names":"[\"isFullWidthRow\"]","config":"{\"overrideBottomMargin\":\"0rem\"}"},"children":[]},{"type":"text","value":"\n"},{"type":"element","tagName":"api-documentation","properties":{"source":"grid-options/properties.json","section":"fullWidth","names":"[\"fullWidthCellRenderer\"]"},"children":[]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"The cell renderer can be any AG Grid cell renderer. Refer to\n"},{"type":"element","tagName":"a","properties":{"href":"/archive/29.3.4/component-cell-renderer/"},"children":[{"type":"text","value":"Cell Rendering"}]},{"type":"text","value":" on how to build cell renderers.\nThe cell renderer for "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"fullWidth"}]},{"type":"text","value":" has one difference to normal cell renderers: the parameters passed\nare missing the value and column information as the "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"cellRenderer"}]},{"type":"text","value":", by definition, is not tied to a particular\ncolumn. Instead you should work off the data parameter, which represents the value for the entire row."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"The "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"isFullWidthRow(params)"}]},{"type":"text","value":" callback receives a "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"params"}]},{"type":"text","value":" object containing the "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"rowNode"}]},{"type":"text","value":" as its input and should return a boolean\n"},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"true"}]},{"type":"text","value":" (use "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"fullWidth"}]},{"type":"text","value":") or "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"false"}]},{"type":"text","value":" (do not use "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"fullWidth"}]},{"type":"text","value":" and render as normal)."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"sorting-and-filtering","style":"position:relative;"},"children":[{"type":"text","value":"Sorting and Filtering"},{"type":"element","tagName":"a","properties":{"href":"#sorting-and-filtering","ariaLabel":"sorting and filtering permalink","className":["docs-header-icon","after"]},"children":[{"type":"element","tagName":"svg","properties":{"id":"icon","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 32 32"},"children":[{"type":"element","tagName":"path","properties":{"d":"M29.25,6.76a6,6,0,0,0-8.5,0l1.42,1.42a4,4,0,1,1,5.67,5.67l-8,8a4,4,0,1,1-5.67-5.66l1.41-1.42-1.41-1.42-1.42,1.42a6,6,0,0,0,0,8.5A6,6,0,0,0,17,25a6,6,0,0,0,4.27-1.76l8-8A6,6,0,0,0,29.25,6.76Z"},"children":[]},{"type":"element","tagName":"path","properties":{"d":"M4.19,24.82a4,4,0,0,1,0-5.67l8-8a4,4,0,0,1,5.67,0A3.94,3.94,0,0,1,19,14a4,4,0,0,1-1.17,2.85L15.71,19l1.42,1.42,2.12-2.12a6,6,0,0,0-8.51-8.51l-8,8a6,6,0,0,0,0,8.51A6,6,0,0,0,7,28a6.07,6.07,0,0,0,4.28-1.76L9.86,24.82A4,4,0,0,1,4.19,24.82Z"},"children":[]}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Sorting and Filtering are NOT impacted by full width. Full width is a rendering time feature. The sorting\nand filtering applied to the data is done before rendering and is not impacted."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"detailed-full-width-example","style":"position:relative;"},"children":[{"type":"text","value":"Detailed Full Width Example"},{"type":"element","tagName":"a","properties":{"href":"#detailed-full-width-example","ariaLabel":"detailed full width example permalink","className":["docs-header-icon","after"]},"children":[{"type":"element","tagName":"svg","properties":{"id":"icon","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 32 32"},"children":[{"type":"element","tagName":"path","properties":{"d":"M29.25,6.76a6,6,0,0,0-8.5,0l1.42,1.42a4,4,0,1,1,5.67,5.67l-8,8a4,4,0,1,1-5.67-5.66l1.41-1.42-1.41-1.42-1.42,1.42a6,6,0,0,0,0,8.5A6,6,0,0,0,17,25a6,6,0,0,0,4.27-1.76l8-8A6,6,0,0,0,29.25,6.76Z"},"children":[]},{"type":"element","tagName":"path","properties":{"d":"M4.19,24.82a4,4,0,0,1,0-5.67l8-8a4,4,0,0,1,5.67,0A3.94,3.94,0,0,1,19,14a4,4,0,0,1-1.17,2.85L15.71,19l1.42,1.42,2.12-2.12a6,6,0,0,0-8.51-8.51l-8,8a6,6,0,0,0,0,8.51A6,6,0,0,0,7,28a6.07,6.07,0,0,0,4.28-1.76L9.86,24.82A4,4,0,0,1,4.19,24.82Z"},"children":[]}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Below shows a detailed full width example including pinned rows and columns.\nThe example's data is minimalistic to focus on how the full width impacts rows. For demonstration, the pinned rows are shaded blue (with full width a darker shade of blue) and body full width rows are green."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"The following points should be noted:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Full width can be applied to any row, including pinned rows. The example demonstrates full width in pinned top, pinned bottom and body rows."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Full width rows can be of any height, which is specified in the usual way using the "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"getRowHeight(params)"}]},{"type":"text","value":" callback. The example sets body "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"fullWidth"}]},{"type":"text","value":" rows to 55px."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"The pinned full width rows are not impacted by either the vertical or horizontal scrolling."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"The body full width rows are impacted by vertical scrolling only, and not the horizontal scrolling."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"The full width rows span the entire grid, including the pinned left and pinned right sections."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"The full width rows are the width of the grid, despite the grid requiring horizontal scrolling to show the cells."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"The example is showing a flat list of data. There is no grouping or parent / child relationships between the full width and normal rows."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"div","properties":{},"children":[{"type":"element","tagName":"grid-example","properties":{"title":"Basic Full Width","name":"basic-full-width","type":"generated","options":" { \"exampleHeight\" : 595 }"},"children":[]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"embedded-full-width-rows","style":"position:relative;"},"children":[{"type":"text","value":"Embedded Full Width Rows"},{"type":"element","tagName":"a","properties":{"href":"#embedded-full-width-rows","ariaLabel":"embedded full width rows permalink","className":["docs-header-icon","after"]},"children":[{"type":"element","tagName":"svg","properties":{"id":"icon","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 32 32"},"children":[{"type":"element","tagName":"path","properties":{"d":"M29.25,6.76a6,6,0,0,0-8.5,0l1.42,1.42a4,4,0,1,1,5.67,5.67l-8,8a4,4,0,1,1-5.67-5.66l1.41-1.42-1.41-1.42-1.42,1.42a6,6,0,0,0,0,8.5A6,6,0,0,0,17,25a6,6,0,0,0,4.27-1.76l8-8A6,6,0,0,0,29.25,6.76Z"},"children":[]},{"type":"element","tagName":"path","properties":{"d":"M4.19,24.82a4,4,0,0,1,0-5.67l8-8a4,4,0,0,1,5.67,0A3.94,3.94,0,0,1,19,14a4,4,0,0,1-1.17,2.85L15.71,19l1.42,1.42,2.12-2.12a6,6,0,0,0-8.51-8.51l-8,8a6,6,0,0,0,0,8.51A6,6,0,0,0,7,28a6.07,6.07,0,0,0,4.28-1.76L9.86,24.82A4,4,0,0,1,4.19,24.82Z"},"children":[]}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"By default, Full Width Rows remain in place while the grid is scrolled horizontally. However, this may be undesirable\nfor some applications which need to horizontally scroll the full-width rows together the rest of the rows."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"In order to have Full Width Rows scroll like normal rows, set "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"embedFullWidthRows=true"}]},{"type":"text","value":" in the gridOptions."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"The example below demonstrates the behaviour when Full Width Rows are embedded in the same container as regular rows. Note the following:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"A different instance of the Full Width Cell Renderer is created for each one of the following sections: "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Pinned Left"}]},{"type":"text","value":", "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Pinned Right"}]},{"type":"text","value":", "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"Non Pinned"}]},{"type":"text","value":"."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Full Width Rows in the "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"non pinned"}]},{"type":"text","value":" section take the whole width of the section and scroll horizontally."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Full Width Rows in the "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"pinned"}]},{"type":"text","value":" sections take the whole width of the section."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"div","properties":{},"children":[{"type":"element","tagName":"grid-example","properties":{"title":"Embedded Full Width Rows","name":"embedded-full-width","type":"generated","options":" { \"exampleHeight\" : 595 }"},"children":[]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"full-width-keyboard-navigation","style":"position:relative;"},"children":[{"type":"text","value":"Full Width Keyboard Navigation"},{"type":"element","tagName":"a","properties":{"href":"#full-width-keyboard-navigation","ariaLabel":"full width keyboard navigation permalink","className":["docs-header-icon","after"]},"children":[{"type":"element","tagName":"svg","properties":{"id":"icon","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 32 32"},"children":[{"type":"element","tagName":"path","properties":{"d":"M29.25,6.76a6,6,0,0,0-8.5,0l1.42,1.42a4,4,0,1,1,5.67,5.67l-8,8a4,4,0,1,1-5.67-5.66l1.41-1.42-1.41-1.42-1.42,1.42a6,6,0,0,0,0,8.5A6,6,0,0,0,17,25a6,6,0,0,0,4.27-1.76l8-8A6,6,0,0,0,29.25,6.76Z"},"children":[]},{"type":"element","tagName":"path","properties":{"d":"M4.19,24.82a4,4,0,0,1,0-5.67l8-8a4,4,0,0,1,5.67,0A3.94,3.94,0,0,1,19,14a4,4,0,0,1-1.17,2.85L15.71,19l1.42,1.42,2.12-2.12a6,6,0,0,0-8.51-8.51l-8,8a6,6,0,0,0,0,8.51A6,6,0,0,0,7,28a6.07,6.07,0,0,0,4.28-1.76L9.86,24.82A4,4,0,0,1,4.19,24.82Z"},"children":[]}]}]}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"When using full width rows, the full width cell renderer is responsible for implementing support for keyboard navigation among its focusable elements. This is why by default, focusing a grid cell with a full width cell renderer will focus the entire cell instead of any of the elements inside the full width cell renderer. "}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Adding support for keyboard navigation and focus requires a custom "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"suppressKeyboardEvent"}]},{"type":"text","value":" function in grid options. See "},{"type":"element","tagName":"a","properties":{"href":"/archive/29.3.4/keyboard-navigation/#suppress-keyboard-events"},"children":[{"type":"text","value":"Suppress Keyboard Events"}]},{"type":"text","value":"."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"An example of this is shown below, enabling keyboard navigation through the full width cell elements when pressing "},{"type":"element","tagName":"kbd","properties":{},"children":[{"type":"text","value":"Tab"}]},{"type":"text","value":" and "},{"type":"element","tagName":"kbd","properties":{},"children":[{"type":"text","value":"Shift"}]},{"type":"text","value":"+"},{"type":"element","tagName":"kbd","properties":{},"children":[{"type":"text","value":"Tab"}]},{"type":"text","value":":"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Click on the "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"United Kingdom"}]},{"type":"text","value":" row, press the "},{"type":"element","tagName":"kbd","properties":{},"children":[{"type":"text","value":"Tab"}]},{"type":"text","value":" a few times and notice that the full width "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"France"}]},{"type":"text","value":" row can be tabbed into, along with the button, link and textbox. At the end of the cell elements, the tab focus moves to the next cell in the next row"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"text","value":"Use "},{"type":"element","tagName":"kbd","properties":{},"children":[{"type":"text","value":"Shift"}]},{"type":"text","value":"+"},{"type":"element","tagName":"kbd","properties":{},"children":[{"type":"text","value":"Tab"}]},{"type":"text","value":" to navigate in the reverse direction"}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"The "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"suppressKeyboardEvent"}]},{"type":"text","value":" callback is used to capture tab events and determine if the user is tabbing forward or backwards. It also suppresses the default behaviour of moving to the next cell if tabbing within the child elements. "}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"If the focus is at the beginning or the end of the cell children and moving out of the cell, the keyboard event is not suppressed, so focus can move between the children elements. Also, when moving backwards, the focus needs to be manually set while preventing the default behaviour of the keyboard press event."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"div","properties":{},"children":[{"type":"element","tagName":"grid-example","properties":{"title":"Full Width Keyboard Navigation","name":"full-width-keyboard-navigation","type":"mixed"},"children":[]}]}],"data":{"quirksMode":false}},"frontmatter":{"title":"Full Width Rows","version":null,"enterprise":null,"sideMenu":null,"description":null},"headings":[{"id":"simple-example-of-full-width-rows","depth":2,"value":"Simple Example of Full Width Rows"},{"id":"understanding-full-width","depth":2,"value":"Understanding Full Width"},{"id":"sorting-and-filtering","depth":2,"value":"Sorting and Filtering"},{"id":"detailed-full-width-example","depth":2,"value":"Detailed Full Width Example"},{"id":"embedded-full-width-rows","depth":2,"value":"Embedded Full Width Rows"},{"id":"full-width-keyboard-navigation","depth":2,"value":"Full Width Keyboard Navigation"}]}},"pageContext":{"frameworks":["javascript","react","angular","vue"],"framework":"javascript","srcPath":"/full-width-rows","pageName":"full-width-rows"}},
    "staticQueryHashes": ["1766026005","699667431","940729948"]}