-
-
Notifications
You must be signed in to change notification settings - Fork 202
Implement cellCls config for Grid Columns #9010
Copy link
Copy link
Closed
Labels
aicoreCore framework functionalityCore framework functionalityenhancementNew feature or requestNew feature or request
Description
Currently, Neo.grid.column.Base does not support a cellCls config. Developers must return an object {html, cls} from the renderer to apply dynamic classes, which mixes content and styling logic.
To support cleaner code (as seen in apps/devrank), implement cellCls in Neo.grid.column.Base and update Neo.grid.Row to apply it.
- Add
cellClsconfig tosrc/grid/column/Base.mjs. - Update
src/grid/Row.mjsapplyRendererOutputto resolvecolumn.cellCls(supporting Function, String, or Array) and append to the cell classes.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
aicoreCore framework functionalityCore framework functionalityenhancementNew feature or requestNew feature or request