Frontmatter
| id | 9010 |
| title | Implement cellCls config for Grid Columns |
| state | Closed |
| labels | enhancementaicore |
| assignees | tobiu |
| createdAt | Feb 6, 2026, 2:18 AM |
| updatedAt | Feb 6, 2026, 2:33 AM |
| githubUrl | https://github.com/neomjs/neo/issues/9010 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Feb 6, 2026, 2:33 AM |
Implement cellCls config for Grid Columns
tobiu assigned to @tobiu on Feb 6, 2026, 2:32 AM

tobiu
Feb 6, 2026, 2:32 AM
Input from Gemini 3 Pro:
✦ Implemented
cellClsconfig inNeo.grid.column.BaseandNeo.grid.Row. RefactoredapplyRendererOutputto reuse the config object for both the renderer andcellClsfunction calls, improving maintainability and reducing boilerplate.
tobiu closed this issue on Feb 6, 2026, 2:33 AM
Currently,
Neo.grid.column.Basedoes not support acellClsconfig. Developers must return an object{html, cls}from therendererto apply dynamic classes, which mixes content and styling logic.To support cleaner code (as seen in
apps/devrank), implementcellClsinNeo.grid.column.Baseand updateNeo.grid.Rowto apply it.cellClsconfig tosrc/grid/column/Base.mjs.src/grid/Row.mjsapplyRendererOutputto resolvecolumn.cellCls(supporting Function, String, or Array) and append to the cell classes.