Knockout-Contrib / Knockout-Contrib/KoGrid

How to customise a css for a given cell only. an example would be ideal. Thank you.

Open
#260 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
277
Forks
124
PR merge metrics
No merged PRs in 30d

Description

Can you please help with a small example for me, facing a bit of difficulty with cell formatting,

if we want to have more colors say one

for<20, --orange

> 20<30 , --yellow
> 30<40 , -- blue
> 40<50 and -- brown
> 50, -- red.

and also i would like to put a small icon,
baby icon under 20,
a school-boy for <30,
and man-with a tie option for <40
and some odd icon for <50 and
CEO for > 50., I.E Need a way to insert a tag into the script also. how can we do this for a col. depending on data.

I.e., I want some thing like
Output, does the cell need to have a "kgCellText" if using for any dom manipulations?

< div bgcolor='orange' >< span ><con school-boy></icon></span> my boy </div>

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named; begin by locating KoGrid's cell-formatting and column-rendering documentation or implementation. Done would be a documented example covering value-based colors and icons, including whether kgCellText is required for DOM manipulation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.