{
    "componentChunkName": "component---src-templates-doc-page-jsx",
    "path": "/javascript-data-grid/cell-content/",
    "result": {"data":{"markdownRemark":{"htmlAst":{"type":"root","children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Cell content with regards how values are provided into the cells. There are different aspects of the grid that assist this."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"The different parts of the grid concerned with cell values are as follows:"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"/archive/29.3.5/value-getters/"},"children":[{"type":"text","value":"Value Getter"}]},{"type":"text","value":": Instead of specifying "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"colDef.field"}]},{"type":"text","value":", you can use "},{"type":"element","tagName":"code","properties":{},"children":[{"type":"text","value":"colDef.valueGetter"}]},{"type":"text","value":" to provide a function for getting cell values. This is more flexible than providing field values for specific cells."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"/archive/29.3.5/value-formatters/"},"children":[{"type":"text","value":"Value Formatters"}]},{"type":"text","value":": Use formatters to format values."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"/archive/29.3.5/cell-expressions/"},"children":[{"type":"text","value":"Expressions"}]},{"type":"text","value":": Use strings instead of functions for value getters and formatters."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"/archive/29.3.5/reference-data/"},"children":[{"type":"text","value":"Reference Data"}]},{"type":"text","value":": Reference data is used to display alternative values to what is in your data, eg your data could be 'USA' but you want to display 'America' instead."}]},{"type":"text","value":"\n"}]},{"type":"text","value":"\n"},{"type":"element","tagName":"h2","properties":{"id":"rendering-flow","style":"position:relative;"},"children":[{"type":"text","value":"Rendering Flow"},{"type":"element","tagName":"a","properties":{"href":"#rendering-flow","ariaLabel":"rendering flow 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":"It is helpful to understand how value getters, formatters and cell renderers work together to  provide the end result."}]},{"type":"text","value":"\n"},{"type":"element","tagName":"div","properties":{},"children":[{"type":"element","tagName":"image-caption","properties":{"src":"cell-content/resources/valueGetterFlow.svg","alt":"Value Getter Flow","width":"46rem","centered":"true"},"children":[]}]}],"data":{"quirksMode":false}},"frontmatter":{"title":"Cell Content","version":null,"enterprise":null,"sideMenu":null,"description":null},"headings":[{"id":"rendering-flow","depth":2,"value":"Rendering Flow"}]}},"pageContext":{"frameworks":["javascript","react","angular","vue"],"framework":"javascript","srcPath":"/cell-content","pageName":"cell-content"}},
    "staticQueryHashes": ["1766026005","699667431","940729948"]}