Can cellStyle know what field it is styling?
See original GitHub issuecellStyle can receive the value, row, and row index, but how can it know the name of the column? Sometimes it is possible to guess the column by comparing value
to all of the row object property values, but if the values are, e.g. true or false, this approach doesn’t work.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Apply, create, or remove a cell style - Microsoft Support
On the Home tab, in the Styles group, click Cell Styles. next to the cell styles box. Click the cell style that you...
Read more >Cell Styles: Styling & Appearance Feature of our Datagrid
Cell Style. Used to provide CSS styles directly (not using a class) to the cell. Can be either an object of CSS styles,...
Read more >Cell Styles in Excel: The Complete Guide - GoSkills
A cell style is a preset format that allows you to visually represent data with variations in color, cell borders, alignment, and number...
Read more >CellStyle - NASA SeaDAS
CellStyle defines the styles of a table cell. Those styles include the background (include the selection background), the foreground (include the selection ...
Read more >Cell Styles & Conditional Formatting in excel(Cell value,Date ...
A cell style is a defined set of formatting characteristics, such as fonts and font sizes, number formats, cell borders, and cell shading....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Added field parameter to cellStyle:
@martinburch - i understand that, but was saying it could help simplify and cut down on the number of overloads if same basic result came out of multiple combinations - define one or more baseline styles for all false booleans, then override only when needed using combo of outputted classes (from column AND
cellStyle
)Just some thoughts, np