Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single cell style #426

Closed
felixakiragreen opened this issue Feb 19, 2014 · 5 comments
Closed

Single cell style #426

felixakiragreen opened this issue Feb 19, 2014 · 5 comments

Comments

@felixakiragreen
Copy link

Currently rows can have highlights & text color and cells can be formatted either as a date, currency, &c — but is there any easy way of highlighting / stylizing single cells?

@vitmalina
Copy link
Owner

Yes. You can use a render function http://w2ui.com/web/demos/#!combo/combo-3. I will think of a better way.

@vitmalina
Copy link
Owner

now, when you define records, you can add style attribute. It if is a string, it will add this into style, if it is an object, it will add into of that cell. For example

records: [
  { recid: 1, fname: 'some', style: { 0: 'outline: 1px solid red' }}
]

it will add style to of record 1 and column 0

@nbsynch
Copy link

nbsynch commented May 8, 2017

This looks like it no longer works in the current 1.5rc1. Is this something that will get added back in?

@mpf82
Copy link
Collaborator

mpf82 commented May 8, 2017

@nbsynch please look at #1387 and #1351 (comment)

Cheers =)

@nbsynch
Copy link

nbsynch commented May 8, 2017

@mpf82

Thanks for your quick reply, it works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants