EN · DE · RU · FR · ES

#2603: MultilineCell.jsx

projectforge-webapp/src/components/base/dynamicLayout/components/table/MultilineCell.jsx React JSX Component (AG Grid Cell Renderer), projectforge-webapp/src/components/base/dynamicLayout/components/table/MultilineCell.jsx 33 lines · 22 code · 6 comments · 5 blank
Custom AG Grid cell renderer for multiline text. Splits value by \n newline characters and renders with <br /> line breaks inside a white-space: pre-line container. Returns null for empty/falsy values. Uses React.Fragment for array mapping. Imports: React, PropTypes.

Git History

8548c532b AG grid: multilineCell-Renderer, WIP address campaigns